Skip to content

Commit

Permalink
scutclient.sh: fix bug of args
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwckf committed Nov 5, 2019
1 parent 46674a3 commit 03a7d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/user/scutclient/scripts/scutclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ func_start(){
-s "$(nvram get scutclient_server_auth_ip)" \
-c "$(nvram get scutclient_version)" \
-h "$(nvram get scutclient_hash)" \
"$(get_arg_debug)" "$(get_arg_skip_udp_hb)" \
-E "${auth_hook:-"echo 0 > /tmp/scutclient_status"}" \
-Q "${fail_hook:-"echo 1 > /tmp/scutclient_status"}" \
"$(get_arg_debug) $(get_arg_skip_udp_hb)"
-Q "${fail_hook:-"echo 1 > /tmp/scutclient_status"}"

if [ $? -eq 0 ] ; then
echo "[ OK ]"
Expand Down

0 comments on commit 03a7d86

Please sign in to comment.