aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
author65432020-11-28 07:12:22 +0100
committerGitHub2020-11-28 01:12:22 -0500
commite7b47c521523099826f42b166f7b562741c07834 (patch)
tree11915204151e179a47c33dc300ec727cc93fada4 /docker
parent742e21aeba5c02935269a2a3681f4486019ce542 (diff)
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')
-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 da5fd6b53..b6150c10d 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 639502482..a40b5b113 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