aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-schedules.c
diff options
context:
space:
mode:
authorMatt Whitlock <gentoo@mattwhitlock.name>2021-08-16 23:21:33 -0400
committerMike Frysinger <vapier@gentoo.org>2021-12-21 01:48:04 -0500
commit8ffc4162e267cf55a8fe789792fc3568fd82ecd7 (patch)
tree1d5f72c2e85999222d536c72302a8f0eb9be49e6 /src/rc/rc-schedules.c
parent703bdbf88e60b98b1fcee8aa376932bbe75bae86 (diff)
code style: remove space after unary "not" operator
There are no semantic changes in this commit. Suggested-by: Mike Frysinger <vapier@gentoo.org> See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394
Diffstat (limited to 'src/rc/rc-schedules.c')
-rw-r--r--src/rc/rc-schedules.c4
1 files changed, 2 insertions, 2 deletions
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