diff options
author | Eric Andersen | 1999-12-09 22:39:55 +0000 |
---|---|---|
committer | Eric Andersen | 1999-12-09 22:39:55 +0000 |
commit | 6805d5d69e9c2be264e62cf53c86ca3e5a929d31 (patch) | |
tree | 2ab43322a4fc33782d322ef029d33a46f3e8c5dd /halt.c | |
parent | f95ca97d1bb94307ee0b8ed95d329dc9d6ccec85 (diff) | |
download | busybox-6805d5d69e9c2be264e62cf53c86ca3e5a929d31.zip busybox-6805d5d69e9c2be264e62cf53c86ca3e5a929d31.tar.gz |
Adjustments for Johns init stuff,
-Erik
Diffstat (limited to 'halt.c')
-rw-r--r-- | halt.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,6 +26,7 @@ extern int halt_main(int argc, char ** argv) { - exit( kill(1, SIGUSR1)); + /* don't assume init's pid == 1 */ + exit( kill(findInitPid(), SIGUSR1)); } |