diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2011-03-22 18:14:19 +0100 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2011-03-23 09:29:39 +0100 |
commit | 88af314f36fbe5b10e59291ce0bd2e6eb52d9714 (patch) | |
tree | 39e07ad0da2dbc90b9a80c33ef3eb6685401ee96 /loader/init.c | |
parent | c47109996ae218b04cfc6b40a43739760c414a35 (diff) | |
download | anaconda-88af314f36fbe5b10e59291ce0bd2e6eb52d9714.tar.gz anaconda-88af314f36fbe5b10e59291ce0bd2e6eb52d9714.tar.xz anaconda-88af314f36fbe5b10e59291ce0bd2e6eb52d9714.zip |
shutdown: kill processes in the anaconda process group.
Previously killall5 omitted the init's session (which includes the anaconda
process group) and anaconda and everything spawned from there (including
the vnc server) survived both the killall5 calls.
Related: rhbz#679397
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/loader/init.c b/loader/init.c index 9c193b4f4..65df89c6c 100644 --- a/loader/init.c +++ b/loader/init.c @@ -827,8 +827,6 @@ int main(int argc, char **argv) { printf("running install...\n"); - setsid(); - if (!(installpid = fork())) { /* child */ *argvp++ = "/sbin/loader"; |