From a8425c53eb218bd47530dc812143f2ad7faeb64e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 13 Jul 2023 09:58:03 +0200 Subject: [PATCH] core: adjust indentation One of the two conditionals in the function had different indentation than the other. --- src/shared/exit-status.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c index 623adda89e7..0ac688b7635 100644 --- a/src/shared/exit-status.c +++ b/src/shared/exit-status.c @@ -145,12 +145,11 @@ bool is_clean_exit(int code, int status, ExitClean clean, const ExitStatusSet *s bitmap_isset(&success_status->status, status)); /* If a daemon does not implement handlers for some of the signals, we do not consider this an - unclean shutdown */ + * unclean shutdown */ if (code == CLD_KILLED) - return - (clean == EXIT_CLEAN_DAEMON && IN_SET(status, SIGHUP, SIGINT, SIGTERM, SIGPIPE)) || - (success_status && - bitmap_isset(&success_status->signal, status)); + return (clean == EXIT_CLEAN_DAEMON && IN_SET(status, SIGHUP, SIGINT, SIGTERM, SIGPIPE)) || + (success_status && + bitmap_isset(&success_status->signal, status)); return false; } -- 2.47.3