diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-18 02:42:33 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-18 02:42:33 +0000 |
commit | 2831e6ec6177d558463cf22f90a0a04d21b4934b (patch) | |
tree | 38d812f59039a9564a1bf3408206578e0bbbf7c7 /usr.sbin/sysinstall/command.c | |
parent | a6430b5b82980a2bac470aebc14110f550aea79f (diff) | |
download | FreeBSD-src-2831e6ec6177d558463cf22f90a0a04d21b4934b.zip FreeBSD-src-2831e6ec6177d558463cf22f90a0a04d21b4934b.tar.gz |
Use my own version of system() everywhere - it knows where to find the
shell!
Diffstat (limited to 'usr.sbin/sysinstall/command.c')
-rw-r--r-- | usr.sbin/sysinstall/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/command.c b/usr.sbin/sysinstall/command.c index 03989cc..ee7ce78 100644 --- a/usr.sbin/sysinstall/command.c +++ b/usr.sbin/sysinstall/command.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: command.c,v 1.3 1995/05/16 02:52:56 jkh Exp $ + * $Id: command.c,v 1.4 1995/05/16 11:37:07 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -166,7 +166,7 @@ command_execute(void) if (commandStack[i]->cmds[j].type == CMD_SHELL) { msgNotify("Executing command: %s", commandStack[i]->cmds[j].ptr); - ret = system((char *)commandStack[i]->cmds[j].ptr); + ret = vsystem((char *)commandStack[i]->cmds[j].ptr); msgDebug("Command `%s' returns status %d\n", commandStack[i]->cmds[j].ptr, ret); } |