mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/ssdp-responder: update S50ssdpd (move shellcheck comment)
- S50ssdpd: move shellcheck comment to the line where needed Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f38453f00e
commit
0687bdeaae
@@ -10,9 +10,9 @@ DAEMON_ARGS=""
|
|||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
[ -r "$CFGFILE" ] && . "$CFGFILE"
|
[ -r "$CFGFILE" ] && . "$CFGFILE"
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
|
||||||
start() {
|
start() {
|
||||||
printf 'Starting %s: ' "$DAEMON"
|
printf 'Starting %s: ' "$DAEMON"
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
if start-stop-daemon -S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS; then
|
if start-stop-daemon -S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS; then
|
||||||
echo "OK"
|
echo "OK"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user