Skip to content

Commit a8425c5

Browse files
committed
core: adjust indentation
One of the two conditionals in the function had different indentation than the other.
1 parent a0043bf commit a8425c5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/shared/exit-status.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,11 @@ bool is_clean_exit(int code, int status, ExitClean clean, const ExitStatusSet *s
145145
bitmap_isset(&success_status->status, status));
146146

147147
/* If a daemon does not implement handlers for some of the signals, we do not consider this an
148-
unclean shutdown */
148+
* unclean shutdown */
149149
if (code == CLD_KILLED)
150-
return
151-
(clean == EXIT_CLEAN_DAEMON && IN_SET(status, SIGHUP, SIGINT, SIGTERM, SIGPIPE)) ||
152-
(success_status &&
153-
bitmap_isset(&success_status->signal, status));
150+
return (clean == EXIT_CLEAN_DAEMON && IN_SET(status, SIGHUP, SIGINT, SIGTERM, SIGPIPE)) ||
151+
(success_status &&
152+
bitmap_isset(&success_status->signal, status));
154153

155154
return false;
156155
}

0 commit comments

Comments
 (0)