ci: fix linter errors: nextcloud-exec.sh
This commit is contained in:
parent
d65d3ae4e0
commit
d3755a20fd
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ nextcloud_exec_no_shell() {
|
|||
exec_user="--user $NEXTCLOUD_EXEC_USER"
|
||||
fi
|
||||
|
||||
docker exec $exec_user "$containerId" "$@"
|
||||
docker exec "$exec_user" "$containerId" "$@"
|
||||
}
|
||||
|
||||
nextcloud_exec() {
|
||||
containerId="$1"; shift
|
||||
nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" $NEXTCLOUD_EXEC_SHELL_ARGS "$@"
|
||||
nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" "$NEXTCLOUD_EXEC_SHELL_ARGS" "$@"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue