aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.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/librc/librc-depend.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/librc/librc-depend.c')
-rw-r--r--src/librc/librc-depend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index f91c2a8b..e240cba0 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -32,7 +32,7 @@ get_shell_value(char *string)
char *p = string;
char *e;
- if (! string)
+ if (!string)
return NULL;
if (*p == '\'')
@@ -142,7 +142,7 @@ rc_deptree_load_file(const char *deptree_file)
if (strcmp(type, "service") == 0) {
/* Sanity */
e = get_shell_value(p);
- if (! e || *e == '\0')
+ if (!e || *e == '\0')
continue;
depinfo = xmalloc(sizeof(*depinfo));
TAILQ_INIT(&depinfo->depends);
@@ -493,7 +493,7 @@ rc_deptree_order(const RC_DEPTREE *deptree, const char *runlevel, int options)
RC_STRINGLIST *services;
bootlevel = getenv("RC_BOOTLEVEL");
- if (! bootlevel)
+ if (!bootlevel)
bootlevel = RC_LEVEL_BOOT;
/* When shutting down, list all running services */