status_of_proc "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
修改为
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?

https://bugs.launchpad.net/ubuntu/+source/pptpd/+bug/1296835