diff options
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
| -rw-r--r-- | usr.sbin/sysinstall/system.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index cb620feb0186..713092f75d27 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.12 1995/05/17 16:16:10 jkh Exp $ + * $Id: system.c,v 1.13 1995/05/18 02:42:33 jkh Exp $ * * Jordan Hubbard * @@ -286,6 +286,12 @@ vsystem(char *fmt, ...) case 0: /* child */ (void)sigsetmask(omask); + if (DebugFD != -1) { + dup2(DebugFD, 0); + dup2(DebugFD, 1); + dup2(DebugFD, 2); + msgInfo("Command output is on debugging screen - type ALT-F2 to see it"); + } execl("/stand/sh", "sh", "-c", cmd, (char *)NULL); i = 127; } |
