mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -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>
(cherry picked from commit 0687bdeaae)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
87ba95a92b
commit
259d9e0102
@@ -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