aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-depend.c4
-rw-r--r--src/rc/rc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index 50227cc5..3d00d1a7 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -177,8 +177,8 @@ rc_depend(int argc, char **argv)
}
}
- if(deptree_file) {
- if(!(deptree = rc_deptree_load_file(deptree_file)))
+ if (deptree_file) {
+ if (!(deptree = rc_deptree_load_file(deptree_file)))
eerrorx("failed to load deptree");
} else {
if (!(deptree = _rc_deptree_load(update, NULL)))
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 14be8683..bdda2ef6 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -895,12 +895,12 @@ main(int argc, char **argv)
case 'S':
if (rc_conf_value("rc_sys")) {
bootlevel = rc_sys_v2();
- if(bootlevel)
+ if (bootlevel)
printf("%s\n", bootlevel);
} else {
ewarn("WARNING: rc_sys not defined in rc.conf. Falling back to automatic detection");
bootlevel = rc_sys_v1();
- if(bootlevel)
+ if (bootlevel)
printf("%s\n", bootlevel);
}
exit(EXIT_SUCCESS);