diff --git a/source/agent-remote/datacommands_v2.sh b/source/agent-remote/datacommands_v2.sh old mode 100644 new mode 100755 diff --git a/source/agent-remote/ds_run.sh b/source/agent-remote/ds_run.sh old mode 100644 new mode 100755 index e4ac575..acf16bf --- a/source/agent-remote/ds_run.sh +++ b/source/agent-remote/ds_run.sh @@ -39,8 +39,8 @@ fi source "${AGENT_PATH}/common.sh" # -- Validate arguments -- -if [[ $# -lt 3 ]]; then - echo "Usage: ds_run.sh SERVER SERVICE COMMAND [args...]" >&2 +if [[ $# -lt 2 ]]; then + echo "Usage: ds_run.sh SERVICE COMMAND [args...]" >&2 exit 1 fi