From 441052d28e4ab11f282f7706b6c368bb6c6ad10e Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Fri, 5 Jan 2024 15:14:01 +1100 Subject: [PATCH] Minor fix: get the help of ssexec_boot working --- src/lib66/exec/ssexec_boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib66/exec/ssexec_boot.c b/src/lib66/exec/ssexec_boot.c index d9ada936..ecc6806c 100644 --- a/src/lib66/exec/ssexec_boot.c +++ b/src/lib66/exec/ssexec_boot.c @@ -374,8 +374,8 @@ static inline void run_stage2 (char const *const *envp, size_t envlen, char cons close(notifpipe[1]) ; wait_for_notif(notifpipe[0]) ; - } - else { + + } else { close(1) ; if (open(fifo, O_WRONLY) != 1) /* blocks until catch-all logger is up */ @@ -479,7 +479,7 @@ int ssexec_boot(int argc, char const *const *argv, ssexec_t *info) switch (opt) { - case 'h' : info_help(info->help, info->usage) ; return 0 ; + case 'h' : VERBOSITY = 1 ; info_help(info->help, info->usage) ; return 0 ; case 'm' : tmpfs = 1 ; break ; case 's' : skel = l.arg ; break ; case 'e' : envdir = l.arg ; break ; -- GitLab