File: print_pause_time

package info (click to toggle)
openbsd-inetd 0.20160825-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 948 kB
  • ctags: 1,581
  • sloc: ansic: 21,033; sh: 87; makefile: 83
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);