summaryrefslogtreecommitdiff
path: root/debian/openssh-server.ssh.runscript/finish
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.ssh.runscript/finish')
-rw-r--r--debian/openssh-server.ssh.runscript/finish10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/openssh-server.ssh.runscript/finish b/debian/openssh-server.ssh.runscript/finish
index 7e29ef1db..8c67acf43 100644
--- a/debian/openssh-server.ssh.runscript/finish
+++ b/debian/openssh-server.ssh.runscript/finish
@@ -3,14 +3,14 @@ set -e
3 3
4NAME=ssh 4NAME=ssh
5 5
6[ $1 = -1 ] && echo "runsv: ERROR in $NAME: unexpected error or wrong sh syntax" 6[ "$1" = -1 ] && echo "runsv: ERROR in $NAME: unexpected error or wrong sh syntax"
7# no need to stop the service here, runsv will stop trying after the first attempt 7# no need to stop the service here, runsv will stop trying after the first attempt
8 8
9[ $1 = 161 ] && echo "runsv: ERROR $1 in $NAME: disabled by local settings" \ 9[ "$1" = 161 ] && echo "runsv: ERROR $1 in $NAME: disabled by local settings" \
10 && sv d $(dirname $0) && exit 0 10 && sv d "$(dirname "$0")" && exit 0
11 11
12[ $1 = 162 ] && echo "runsv: ERROR $1 in $NAME: configtest or early setup failed" \ 12[ "$1" = 162 ] && echo "runsv: ERROR $1 in $NAME: configtest or early setup failed" \
13 && sv d $(dirname $0) && exit 0 13 && sv d "$(dirname "$0")" && exit 0
14 14
15echo "$NAME Stopped" 15echo "$NAME Stopped"
16 16