diff options
author | Erik Troan <ewt@redhat.com> | 2001-11-24 14:39:22 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-11-24 14:39:22 +0000 |
commit | f1fb2e067c836626896ae4132687d16e725237e8 (patch) | |
tree | ae72d584483cd3a667fa360f6111fa42627f3966 | |
parent | 78046b966823980be72890e0a46ff066b8f64744 (diff) | |
download | anaconda-f1fb2e067c836626896ae4132687d16e725237e8.tar.gz anaconda-f1fb2e067c836626896ae4132687d16e725237e8.tar.xz anaconda-f1fb2e067c836626896ae4132687d16e725237e8.zip |
modutils/diet has xalloc segv's occasionally when it's run w/ a dirty
process, go knows why... this works around it
-rw-r--r-- | isys/otherinsmod.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isys/otherinsmod.c b/isys/otherinsmod.c index 8c5b96823..56b4b98a3 100644 --- a/isys/otherinsmod.c +++ b/isys/otherinsmod.c @@ -145,7 +145,8 @@ int insmod(char * modName, char * path, char ** args) { argc += count; if ((child = fork()) == 0) { - exit(ourInsmodCommand(argc, argv)); + execv("/bin/loader", argv); + exit(1); } waitpid(child, &status, 0); |