mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 18:00:41 +01:00
fix testbench: shutdown-immediate command did not work for instance 2
This commit is contained in:
parent
29b6440958
commit
71984ef6c5
@ -320,7 +320,7 @@ case $1 in
|
||||
;;
|
||||
'shutdown-immediate') # shut rsyslogd down without emptying the queue. $2 is the instance.
|
||||
cp rsyslog$2.pid rsyslog$2.pid.save
|
||||
kill `cat rsyslog.pid`
|
||||
kill `cat rsyslog$2.pid`
|
||||
# note: we do not wait for the actual termination!
|
||||
;;
|
||||
'kill-immediate') # kill rsyslog unconditionally
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user