From 7dd091e8ced5576981edf40407063460ab5cdb75 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 6 Apr 2025 01:40:50 +0000 Subject: Readability improvement in s6-supervise.c Signed-off-by: Laurent Bercot --- src/supervision/s6-supervise.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index 9f56c47..eeac5a0 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -794,7 +794,8 @@ int main (int argc, char const *const *argv) progname[proglen] = ' ' ; memcpy(progname + proglen + 1, argv[1], namelen + 1) ; PROG = progname ; - if (!fd_sanitize()) strerr_diefu1sys(111, "sanitize stdin and stdout") ; + if (!fd_sanitize()) + strerr_diefu1sys(111, "sanitize stdin and stdout") ; { struct rlimit rl ; if (getrlimit(RLIMIT_NOFILE, &rl) == -1) @@ -804,7 +805,8 @@ int main (int argc, char const *const *argv) x[1].fd = control_init() ; x[0].fd = selfpipe_init() ; if (x[0].fd == -1) strerr_diefu1sys(111, "init selfpipe") ; - if (!sig_altignore(SIGPIPE)) strerr_diefu1sys(111, "ignore SIGPIPE") ; + if (!sig_altignore(SIGPIPE)) + strerr_diefu1sys(111, "ignore SIGPIPE") ; { sigset_t set ; sigemptyset(&set) ; -- cgit v1.3.1