diff --git a/abra b/abra index b41e197..b4df934 100755 --- a/abra +++ b/abra @@ -69,7 +69,8 @@ sub_run_args(){ exit fi - docker exec "$DOCKER_ARGS" -it "$CONTAINER" "$@" + # shellcheck disable=SC2086 + docker exec $DOCKER_ARGS -it "$CONTAINER" "$@" return } @@ -124,10 +125,11 @@ sub_logs (){ --timestamps" else # shellcheck disable=SC2124 - LOGS_ARGS="$@" + LOGS_ARGS=$@ fi - docker service logs "${STACK_NAME}_${SERVICE}" "$LOGS_ARGS" + # shellcheck disable=SC2086 + docker service logs "${STACK_NAME}_${SERVICE}" $LOGS_ARGS } subcommand=$1