diff options
author | Colin Watson <cjwatson@debian.org> | 2020-05-23 12:46:54 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-05-23 12:46:54 +0100 |
commit | aef2be11c5ea90bc66e774923e6570213e54c195 (patch) | |
tree | 9dbd33aa7db299c01f925ab39b594588f96ab304 /debian/openssh-server.ssh.runscript/finish | |
parent | 296562ba187866e518184f1b5316913d5cd52366 (diff) |
Fix or suppress various shellcheck errors under debian/
Diffstat (limited to 'debian/openssh-server.ssh.runscript/finish')
-rw-r--r-- | debian/openssh-server.ssh.runscript/finish | 10 |
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 | ||
4 | NAME=ssh | 4 | NAME=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 | ||
15 | echo "$NAME Stopped" | 15 | echo "$NAME Stopped" |
16 | 16 | ||