File: print_pause_time

package info (click to toggle)
openbsd-inetd 0.20221205-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,080 kB
  • sloc: ansic: 24,214; perl: 110; sh: 81; makefile: 52
file content (14 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/inetd.c
+++ b/inetd.c
@@ -1793,8 +1793,9 @@ spawn(int ctrl, short events, void *xsep
 					return;
 				}
 				syslog(LOG_ERR,
-				    "%s/%s server failing (looping), service terminated",
-				    sep->se_service, sep->se_proto);
+				    "%s/%s server failing (looping), service terminated for %d min",
+				    sep->se_service, sep->se_proto,
+				    RETRYTIME/60);
 				if (!sep->se_wait &&
 				    sep->se_socktype == SOCK_STREAM)
 					close(ctrl);