2020-08-03 15:45:36 +00:00
|
|
|
--- pppd/main.c.orig
|
2006-12-19 16:17:30 +00:00
|
|
|
+++ pppd/main.c
|
2020-08-03 15:45:36 +00:00
|
|
|
@@ -1920,8 +1920,8 @@ forget_child(pid, status)
|
2006-12-19 16:17:30 +00:00
|
|
|
if (WIFSIGNALED(status)) {
|
|
|
|
warn("Child process %s (pid %d) terminated with signal %d",
|
|
|
|
(chp? chp->prog: "??"), pid, WTERMSIG(status));
|
|
|
|
- } else if (debug)
|
|
|
|
- dbglog("Script %s finished (pid %d), status = 0x%x",
|
|
|
|
+ } else
|
|
|
|
+ info("Script %s finished (pid %d), status = 0x%x",
|
|
|
|
(chp? chp->prog: "??"), pid,
|
|
|
|
WIFEXITED(status) ? WEXITSTATUS(status) : status);
|
|
|
|
if (chp && chp->done)
|