about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nitro.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/nitro.c b/nitro.c
index 8c5ba2d..b0651a3 100644
--- a/nitro.c
+++ b/nitro.c
@@ -578,7 +578,6 @@ proc_zap(int i) {
 	}
 }
 
-
 void
 process_step(int i, enum process_events ev)
 {
@@ -778,7 +777,6 @@ process_step(int i, enum process_events ev)
 	}
 }
 
-
 void
 on_signal(int sig)
 {
@@ -984,7 +982,6 @@ do_shutdown(int state)
 
 		global_state = state;
 
-
 		struct stat st;
 		if (stat("SYS", &st) == 0) {
 			int b = add_service("SYS");
@@ -1083,7 +1080,6 @@ prn(2, "check %s to file %s passed\n", services[i].name, name);
 			    MSG_DONTWAIT, (struct sockaddr *)&addr, sizeof addr);
 		}
 	}
-
 }
 
 int
@@ -1423,14 +1419,12 @@ main(int argc, char *argv[])
 
 	prn(2, "- nitro: booting\n");
 
-	{
-		struct stat st;
-		if (stat("SYS", &st) == 0) {
-			int b = add_service("SYS");
-			process_step(b, EVNT_WANT_UP);
-		} else {
-			rescan(1);
-		}
+	struct stat st;
+	if (stat("SYS", &st) == 0) {
+		int b = add_service("SYS");
+		process_step(b, EVNT_WANT_UP);
+	} else {
+		rescan(1);
 	}
 
 	struct pollfd fds[2];