From 8ffc4162e267cf55a8fe789792fc3568fd82ecd7 Mon Sep 17 00:00:00 2001 From: Matt Whitlock Date: Mon, 16 Aug 2021 23:21:33 -0400 Subject: code style: remove space after unary "not" operator There are no semantic changes in this commit. Suggested-by: Mike Frysinger See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394 --- src/rc/rc-schedules.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc/rc-schedules.c') diff --git a/src/rc/rc-schedules.c b/src/rc/rc-schedules.c index fdf52f19..5938086d 100644 --- a/src/rc/rc-schedules.c +++ b/src/rc/rc-schedules.c @@ -279,7 +279,7 @@ int do_stop(const char *applet, const char *exec, const char *const *argv, errno = 0; killed = (kill(pi->pid, sig) == 0 || errno == ESRCH ? true : false); - if (! quiet) + if (!quiet) eendv(killed ? 0 : 1, "%s: failed to send signal %d to PID %d: %s", applet, sig, pi->pid, strerror(errno)); @@ -422,7 +422,7 @@ int run_stop_schedule(const char *applet, if (progressed) printf("\n"); - if (! quiet) { + if (!quiet) { if (nrunning == 1) eerror("%s: %d process refused to stop", applet, nrunning); else -- cgit v1.2.3