Fixed --signal typo
Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3773
This commit is contained in:
parent
e2ede4721b
commit
4a4809faab
|
@ -227,7 +227,7 @@ zfs_daemon_reload()
|
||||||
|
|
||||||
if type start-stop-daemon > /dev/null 2>&1 ; then
|
if type start-stop-daemon > /dev/null 2>&1 ; then
|
||||||
# LSB functions
|
# LSB functions
|
||||||
start-stop-daemon --stop -signal 1 --quiet \
|
start-stop-daemon --stop --signal 1 --quiet \
|
||||||
--pidfile "$PIDFILE" --name "$DAEMON_NAME"
|
--pidfile "$PIDFILE" --name "$DAEMON_NAME"
|
||||||
return $?
|
return $?
|
||||||
elif type killproc > /dev/null 2>&1 ; then
|
elif type killproc > /dev/null 2>&1 ; then
|
||||||
|
|
Loading…
Reference in New Issue