MT#62763 Fix shellcheck issues

Warned-by: shellcheck
Change-Id: I95b48ebe0b48d8dd0924813caeca121b4f794a38
mr14.0
Guillem Jover 10 months ago
parent 99bf5bdea9
commit 853a9fe51f

@ -0,0 +1,3 @@
external-sources=true
# Used for jdg-tap integration.
source-path=source

@ -19,6 +19,7 @@
### END INIT INFO
# Source function library.
# shellcheck disable=SC1091
. /etc/rc.d/init.d/functions
prog=sems
@ -32,9 +33,12 @@ OPTIONS=""
# User-defined options and/or overrides of the variables, listed above,
# should go there:
# shellcheck source=./sems.sysconfig
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
# shellcheck source=./sems.default
# try to source Debian-like default settings
# shellcheck source=./sems.sysconfig
[ -e /etc/default/$prog ] && . /etc/default/$prog
RETVAL=0
@ -61,6 +65,7 @@ start() {
return 0
fi
# shellcheck disable=SC2086
daemon $sems -P $pidfile -u sems -g sems -f $conffile $OPTIONS
RETVAL=$?
echo

Loading…
Cancel
Save