summaryrefslogtreecommitdiffstats
path: root/docker/root
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-11-28 07:12:22 +0100
committerGitHub <noreply@github.com>2020-11-28 01:12:22 -0500
commite7b47c521523099826f42b166f7b562741c07834 (patch)
tree11915204151e179a47c33dc300ec727cc93fada4 /docker/root
parent742e21aeba5c02935269a2a3681f4486019ce542 (diff)
downloadgitea-e7b47c521523099826f42b166f7b562741c07834.tar.gz
gitea-e7b47c521523099826f42b166f7b562741c07834.zip
Format files (#13698)
* align "make help" * format * untouch build/generate-svg.js * untouch .eslintrc * combine editorconfig's * rm editorconfig Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docker/root')
-rwxr-xr-xdocker/root/etc/s6/gitea/run4
-rwxr-xr-xdocker/root/etc/s6/openssh/run4
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