summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/system.c4
-rw-r--r--usr.sbin/sysinstall/system.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index e5b685b..8eb078b 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.29 1995/05/23 02:41:18 jkh Exp $
+ * $Id: system.c,v 1.30 1995/05/24 22:37:44 jkh Exp $
*
* Jordan Hubbard
*
@@ -95,6 +95,8 @@ systemInitialize(int argc, char **argv)
ioctl(0, TIOCSCTTY, (char *)NULL);
dup2(0, 1);
dup2(0, 2);
+ execlp(sh, "-sh", 0);
+ exit(1);
}
/* XXX - libdialog has particularly bad return value checking */
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index e5b685b..8eb078b 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.29 1995/05/23 02:41:18 jkh Exp $
+ * $Id: system.c,v 1.30 1995/05/24 22:37:44 jkh Exp $
*
* Jordan Hubbard
*
@@ -95,6 +95,8 @@ systemInitialize(int argc, char **argv)
ioctl(0, TIOCSCTTY, (char *)NULL);
dup2(0, 1);
dup2(0, 2);
+ execlp(sh, "-sh", 0);
+ exit(1);
}
/* XXX - libdialog has particularly bad return value checking */
OpenPOWER on IntegriCloud