Un-bork quoting to allow splitting
Closes autonomic-cooperative/abra#12.
This commit is contained in:
parent
67dafbb274
commit
6fdb0d64af
8
abra
8
abra
@ -69,7 +69,8 @@ sub_run_args(){
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker exec "$DOCKER_ARGS" -it "$CONTAINER" "$@"
|
# shellcheck disable=SC2086
|
||||||
|
docker exec $DOCKER_ARGS -it "$CONTAINER" "$@"
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -124,10 +125,11 @@ sub_logs (){
|
|||||||
--timestamps"
|
--timestamps"
|
||||||
else
|
else
|
||||||
# shellcheck disable=SC2124
|
# shellcheck disable=SC2124
|
||||||
LOGS_ARGS="$@"
|
LOGS_ARGS=$@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker service logs "${STACK_NAME}_${SERVICE}" "$LOGS_ARGS"
|
# shellcheck disable=SC2086
|
||||||
|
docker service logs "${STACK_NAME}_${SERVICE}" $LOGS_ARGS
|
||||||
}
|
}
|
||||||
|
|
||||||
subcommand=$1
|
subcommand=$1
|
||||||
|
Reference in New Issue
Block a user