Skip to content

Commit 31530dc

Browse files
authored
fix(adapter): add args into adapter/restart.sh (#5149)
Signed-off-by: Tass <[email protected]>
1 parent b0f3ff8 commit 31530dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
args=$@
4+
35
case $(uname) in
46
Linux)
57
bin_abs_path=$(readlink -f $(dirname $0))
@@ -9,5 +11,5 @@ Linux)
911
;;
1012
esac
1113

12-
sh "$bin_abs_path"/stop.sh
13-
sh "$bin_abs_path"/startup.sh
14+
sh "$bin_abs_path"/stop.sh $args
15+
sh "$bin_abs_path"/startup.sh $args

0 commit comments

Comments
 (0)