diff --git a/scripts/reshctl.sh b/scripts/reshctl.sh index 6a5f9df..8544ce0 100644 --- a/scripts/reshctl.sh +++ b/scripts/reshctl.sh @@ -109,7 +109,7 @@ __resh_unbind_all() { resh() { local buffer local git_remote; git_remote="$(git remote get-url origin 2>/dev/null)" - buffer=$(resh-cli --sessionID "$__RESH_SESSION_ID" --host "$__RESH_HOST" --pwd "$PWD" --gitOriginRemote "$git_remote" $@) + buffer=$(resh-cli --sessionID "$__RESH_SESSION_ID" --host "$__RESH_HOST" --pwd "$PWD" --gitOriginRemote "$git_remote" "$@") status_code=$? if [ $status_code = 111 ]; then # execute