Merge branch 'master' into Theaxiom-patch-2

This commit is contained in:
Travis Rowland
2017-11-23 15:12:00 -08:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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,

View File

@@ -20,5 +20,8 @@ syslogng_wait() {
return $RET
}
kill $(cat "$PIDFILE")
if [ -f "$PIDFILE" ]; then
kill $(cat "$PIDFILE")
fi
syslogng_wait 0 $?