forked from Docker/baseimage-docker
Merge branch 'master' into Theaxiom-patch-2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -em
|
||||
|
||||
# If /dev/log is either a named pipe or it was placed there accidentally,
|
||||
# e.g. because of the issue documented at https://github.com/phusion/baseimage-docker/pull/25,
|
||||
|
||||
@@ -20,5 +20,8 @@ syslogng_wait() {
|
||||
return $RET
|
||||
}
|
||||
|
||||
kill $(cat "$PIDFILE")
|
||||
if [ -f "$PIDFILE" ]; then
|
||||
kill $(cat "$PIDFILE")
|
||||
fi
|
||||
|
||||
syslogng_wait 0 $?
|
||||
|
||||
Reference in New Issue
Block a user