Skip to content

Commit 03a7d86

Browse files
committed
scutclient.sh: fix bug of args
1 parent 46674a3 commit 03a7d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trunk/user/scutclient/scripts/scutclient.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ func_start(){
3030
-s "$(nvram get scutclient_server_auth_ip)" \
3131
-c "$(nvram get scutclient_version)" \
3232
-h "$(nvram get scutclient_hash)" \
33+
"$(get_arg_debug)" "$(get_arg_skip_udp_hb)" \
3334
-E "${auth_hook:-"echo 0 > /tmp/scutclient_status"}" \
34-
-Q "${fail_hook:-"echo 1 > /tmp/scutclient_status"}" \
35-
"$(get_arg_debug) $(get_arg_skip_udp_hb)"
35+
-Q "${fail_hook:-"echo 1 > /tmp/scutclient_status"}"
3636

3737
if [ $? -eq 0 ] ; then
3838
echo "[ OK ]"

0 commit comments

Comments
 (0)