summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/sysinstall/main.c4
-rw-r--r--usr.sbin/sade/main.c4
-rw-r--r--usr.sbin/sysinstall/main.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c
index c729158bac81..60d292c0c745 100644
--- a/release/sysinstall/main.c
+++ b/release/sysinstall/main.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: main.c,v 1.18 1996/04/28 20:54:03 jkh Exp $
+ * $Id: main.c,v 1.19 1996/05/16 11:47:33 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -83,7 +83,7 @@ main(int argc, char **argv)
/* Probe for all relevant devices on the system */
deviceGetAll();
- if (argc > 1) {
+ if (argc > 1 && !RunningAsInit) {
int i;
for (i = 1; i < argc; i++) {
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c
index c729158bac81..60d292c0c745 100644
--- a/usr.sbin/sade/main.c
+++ b/usr.sbin/sade/main.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: main.c,v 1.18 1996/04/28 20:54:03 jkh Exp $
+ * $Id: main.c,v 1.19 1996/05/16 11:47:33 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -83,7 +83,7 @@ main(int argc, char **argv)
/* Probe for all relevant devices on the system */
deviceGetAll();
- if (argc > 1) {
+ if (argc > 1 && !RunningAsInit) {
int i;
for (i = 1; i < argc; i++) {
diff --git a/usr.sbin/sysinstall/main.c b/usr.sbin/sysinstall/main.c
index c729158bac81..60d292c0c745 100644
--- a/usr.sbin/sysinstall/main.c
+++ b/usr.sbin/sysinstall/main.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: main.c,v 1.18 1996/04/28 20:54:03 jkh Exp $
+ * $Id: main.c,v 1.19 1996/05/16 11:47:33 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -83,7 +83,7 @@ main(int argc, char **argv)
/* Probe for all relevant devices on the system */
deviceGetAll();
- if (argc > 1) {
+ if (argc > 1 && !RunningAsInit) {
int i;
for (i = 1; i < argc; i++) {