From 2831e6ec6177d558463cf22f90a0a04d21b4934b Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 18 May 1995 02:42:33 +0000 Subject: Use my own version of system() everywhere - it knows where to find the shell! --- usr.sbin/sysinstall/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/sysinstall/command.c') 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); } -- cgit v1.1