diff options
-rwxr-xr-x | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 6638bcee..ca29b07b 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -250,7 +250,7 @@ killproc() { # Remove pid file if any. if [ -z "$killlevel" ]; then - rm -f /var/run/$base.pid + rm -f "${pid_file:-/var/run/$base.pid}" fi return $RC } |