commit 4766a06
hovercats
·
2024-09-04 13:36:25 +0000 UTC
parent d51fee7
simplify. remove unneeded curlybraces
1 files changed,
+3,
-9
M
rcinit
M
rcinit
+3,
-9
1@@ -3,14 +3,8 @@
2 flag e +
3
4 # Check if PID is 1
5-if (test $pid -eq 1) {
6- /etc/rc.init
7-}
8-if not {
9- exit 1
10-}
11+if (test $pid -eq 1) /etc/rc.init
12+if not exit 1
13
14 # Wait forever, so the script doesnt exit by itself
15-while() {
16- wait $pid
17-}
18+while() wait $pid