summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-25 01:52:04 +0000
committerjkh <jkh@FreeBSD.org>1995-05-25 01:52:04 +0000
commitdde84f4e8d7b1d0117f49e1b7d7f2c6922f071f1 (patch)
treed8c23ecdb788b7a097b3537bb59287ca79f0df08 /usr.sbin/sade
parent369a063c9bde50c7b9879d5dd3b556b902e54619 (diff)
downloadFreeBSD-src-dde84f4e8d7b1d0117f49e1b7d7f2c6922f071f1.zip
FreeBSD-src-dde84f4e8d7b1d0117f49e1b7d7f2c6922f071f1.tar.gz
Cleanup.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/install.c4
-rw-r--r--usr.sbin/sade/system.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index c47e3ed..f350c0c 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.52 1995/05/24 17:49:16 jkh Exp $
+ * $Id: install.c,v 1.53 1995/05/25 01:22:15 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -414,6 +414,7 @@ cpio_extract(void)
if (!floppyDev)
continue;
}
+ dialog_clear();
msgConfirm("Please Insert CPIO floppy in %s", floppyDev->description);
CpioFD = open(floppyDev->devname, O_RDONLY);
if (CpioFD >= 0)
@@ -478,6 +479,7 @@ cpio_extract(void)
msgConfirm("CPIO floppy did not extract properly! Please verify\nthat your media is correct and try again.");
close(CpioFD);
CpioFD = -1;
+ dialog_clear();
goto tryagain;
}
unlink("/OK");
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index 022e0d9..f1d7ab3 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/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.31 1995/05/24 23:36:50 jkh Exp $
+ * $Id: system.c,v 1.32 1995/05/24 23:43:59 jkh Exp $
*
* Jordan Hubbard
*
@@ -95,7 +95,7 @@ systemInitialize(int argc, char **argv)
ioctl(0, TIOCSCTTY, (char *)NULL);
dup2(0, 1);
dup2(0, 2);
- execlp("/stand/sh", "-sh", 0);
+ execlp("sh", "-sh", 0);
exit(1);
}
OpenPOWER on IntegriCloud