simple-init

A set of init binaries for linux
git clone git://depsterr.com/git/simple-init
Log | Files | Refs | README | LICENSE

commit 748a0eca91184fa5ce2143a50342fdae20aaa174
parent 80567e8d01fd1d2218ab30453a03170a615cfca5
Author: depsterr <depsterr@protonmail.com>
Date:   Sun, 31 May 2020 18:59:54 +0200

added missing semicolons

Diffstat:
Minitscripts/shutdown.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/initscripts/shutdown.c b/initscripts/shutdown.c @@ -16,15 +16,15 @@ int main(int argc, char* argv[]) { sync(); log_message("Sending TERM signal to all processes"); - kill(-1, SIGSTOP) - kill(-1, SIGTERM) - kill(-1, SIGCONT) + kill(-1, SIGSTOP); + kill(-1, SIGTERM); + kill(-1, SIGCONT); sleep(2); log_message("Sending KILL signal to all processes"); - kill(-1, SIGSTOP) - kill(-1, SIGKILL) - kill(-1, SIGCONT) + kill(-1, SIGSTOP); + kill(-1, SIGKILL); + kill(-1, SIGCONT); log_message("Unmounting all filesystems"); char* swapcmd[] = { "swapoff", "-a", 0};