diff options
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/root/etc/s6/gitea/run | 4 | ||||
-rwxr-xr-x | docker/root/etc/s6/openssh/run | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docker/root/etc/s6/gitea/run b/docker/root/etc/s6/gitea/run index da5fd6b535..b6150c10d5 100755 --- a/docker/root/etc/s6/gitea/run +++ b/docker/root/etc/s6/gitea/run @@ -1,6 +1,6 @@ #!/bin/bash [[ -f ./setup ]] && source ./setup -pushd /app/gitea > /dev/null - exec su-exec $USER /app/gitea/gitea web +pushd /app/gitea >/dev/null +exec su-exec $USER /app/gitea/gitea web popd diff --git a/docker/root/etc/s6/openssh/run b/docker/root/etc/s6/openssh/run index 6395024825..a40b5b113f 100755 --- a/docker/root/etc/s6/openssh/run +++ b/docker/root/etc/s6/openssh/run @@ -1,6 +1,6 @@ #!/bin/bash [[ -f ./setup ]] && source ./setup -pushd /root > /dev/null - exec su-exec root /usr/sbin/sshd -D -e 2>&1 +pushd /root >/dev/null +exec su-exec root /usr/sbin/sshd -D -e 2>&1 popd |