Subject: pptpctrl: exit when bailing Origin: b84360bb7d2d1c603a9e99f0640e962673c135e7 Author: James Cameron Date: Sat Oct 18 15:08:00 2014 +1100 Commit 0770455 in 2004 removed the call to exit, and so now pptpctrl continues instead of terminating. http://sourceforge.net/p/poptop/bugs/51/ Reported-by: Gavin Wan Signed-off-by: James Cameron --- a/pptpctrl.c +++ b/pptpctrl.c @@ -545,6 +545,8 @@ if (pptpctrl_debug) syslog(LOG_DEBUG, "CTRL: Exiting now"); + + exit((GET_VALUE(PAC, call_id_pair) == htons(-1)) ? 0 : 1); } /*