diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-21 09:30:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-21 09:30:18 +0000 |
commit | 6d0196f036971151d9364b27f12ebb17441e71b4 (patch) | |
tree | 3c22228d8268134d1d6b0773e91ba58c62411316 /usr.sbin/sysinstall/system.c | |
parent | 96f30bacb477cdae92df7a1126b281be8894bf79 (diff) | |
download | FreeBSD-src-6d0196f036971151d9364b27f12ebb17441e71b4.zip FreeBSD-src-6d0196f036971151d9364b27f12ebb17441e71b4.tar.gz |
Major enhancements to the package adder (next step is to use the new dialog
functions to make the menus far less klunky, but one thing at a time).
Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r-- | usr.sbin/sysinstall/system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index 26b6b74..3622f90 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.47 1996/03/02 07:31:56 jkh Exp $ + * $Id: system.c,v 1.48 1996/03/18 15:28:08 jkh Exp $ * * Jordan Hubbard * @@ -217,7 +217,7 @@ vsystem(char *fmt, ...) else if (!pid) { /* Junior */ (void)sigsetmask(omask); if (DebugFD != -1) { - if (OnVTY && isDebug()) + if (OnVTY && isDebug() && RunningAsInit) msgInfo("Command output is on VTY2 - type ALT-F2 to see it"); dup2(DebugFD, 0); dup2(DebugFD, 1); @@ -244,7 +244,7 @@ vsystem(char *fmt, ...) void systemCreateHoloshell(void) { - if (OnVTY) { + if (OnVTY && RunningAsInit) { if (!fork()) { int i, fd; struct termios foo; |