1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-16 12:43:57 +00:00

Extra safety return.

This commit is contained in:
Olaf Seibert
2017-01-23 20:37:38 +01:00
parent bf53098417
commit 0abee1c6eb

View File

@@ -440,6 +440,8 @@ main(int argc, char **argv)
#endif
progname = progname_r; /* Reset progname to indicate identity */
ethtoten(dpni); /* Child process handles input from net */
return 1; /* Do not fall through here, ever */
}
progname = progname_w; /* Reset progname to indicate identity */
tentoeth(dpni); /* Parent process handles output to net */
@@ -1363,6 +1365,7 @@ void tentoeth(struct dpni20_s *dpni)
break;
case DPNI_QUIT:
/* Attempt to quit the device process gracefully */
if (DBGFLG)
dbprint("QUIT");
return;