summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-20 08:31:43 +0000
committerjkh <jkh@FreeBSD.org>1995-05-20 08:31:43 +0000
commitb00009a29ac9fc1ba5f3ce41b8d992a4c9b88e5e (patch)
tree6e27f2a0893b19c2726d34d3e053c5a01e621ec9 /usr.sbin/sysinstall/system.c
parentb699cf290d2084f1a2dce3d0c923fde49a56521a (diff)
downloadFreeBSD-src-b00009a29ac9fc1ba5f3ce41b8d992a4c9b88e5e.zip
FreeBSD-src-b00009a29ac9fc1ba5f3ce41b8d992a4c9b88e5e.tar.gz
Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message when it's time to switch back.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r--usr.sbin/sysinstall/system.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index 0e112b0..e1a7ded 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.19 1995/05/19 16:58:58 jkh Exp $
+ * $Id: system.c,v 1.20 1995/05/19 21:30:35 jkh Exp $
*
* Jordan Hubbard
*
@@ -304,7 +304,8 @@ vsystem(char *fmt, ...)
case 0: /* child */
(void)sigsetmask(omask);
if (DebugFD != -1) {
- msgInfo("Command output is on debugging screen - type ALT-F2 to see it");
+ if (OnVTY)
+ msgInfo("Command output is on debugging screen - type ALT-F2 to see it");
dup2(DebugFD, 0);
dup2(DebugFD, 1);
dup2(DebugFD, 2);
OpenPOWER on IntegriCloud