Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit 7ac5a72

Browse files
committed
Address shellcheck issues
1 parent dd9cf13 commit 7ac5a72

File tree

1 file changed

+5
-5
lines changed
  • root/etc/services.d/endlessh

1 file changed

+5
-5
lines changed

root/etc/services.d/endlessh/run

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ export \
44
MSDELAY=${MSDELAY:-10000} \
55
MAXLINES=${MAXLINES:-32} \
66
MAXCLIENTS=${MAXCLIENTS:-4096} \
7-
BINDFAMILY=$(test v4 = v${BINDFAMILY} -o v6 = v${BINDFAMILY} && echo -${BINDFAMILY})
7+
BINDFAMILY=$(test v4 = v"${BINDFAMILY}" -o v6 = v"${BINDFAMILY}" && echo -"${BINDFAMILY}")
88

99
exec 2>&1 \
1010
s6-setuidgid abc \
1111
/app/endlessh/endlessh \
1212
-v \
13-
-d ${MSDELAY} \
14-
-l ${MAXLINES} \
15-
-m ${MAXCLIENTS} \
13+
-d "${MSDELAY}" \
14+
-l "${MAXLINES}" \
15+
-m "${MAXCLIENTS}" \
1616
-p 2222 \
17-
${BINDFAMILY}
17+
"${BINDFAMILY}"

0 commit comments

Comments
 (0)