simple-init

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

commit 921fa4ea2de7e37858612e705769934ff641b323
parent 686d4da264f895cfc1ab13b967d8262a67dd7c47
Author: depsterr <depsterr@protonmail.com>
Date:   Sun, 31 May 2020 19:09:50 +0200

fixed issue with wait waiting forever

Diffstat:
Minitscripts/shutdown.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/initscripts/shutdown.c b/initscripts/shutdown.c @@ -32,7 +32,7 @@ int main(int argc, char* argv[]) { spawn_process(swapcmd); spawn_process(umountcmd); /* wait for children without caring about failing */ - while(wait(0)); + while(wait(0) > 0); log_message("Requesting shutdown from kernel"); if(argv[1][0] == 'p') {