Browse Source

Fix status check in init script. Closes: #747146

Thanks Marc Matters.
Christoph Biedl 10 years ago
parent
commit
3d64ffda89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      debian/pptpd.init

+ 1 - 1
debian/pptpd.init

@@ -76,7 +76,7 @@ stop)
     esac
     ;;
 status)
-    status_of_proc "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
+    status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
     ;;
 restart|force-reload)
     log_daemon_msg "Restarting $DESC" "$NAME"