summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/main.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-28 18:30:30 +0000
committerjkh <jkh@FreeBSD.org>1996-05-28 18:30:30 +0000
commita912abf585a32639edcf9a6149c122e81563212f (patch)
tree7162c5de89fd802e20f1a1f075100be718274e00 /release/sysinstall/main.c
parent5f845e903ba063f27d1b29e19d5b93cba7ffec31 (diff)
downloadFreeBSD-src-a912abf585a32639edcf9a6149c122e81563212f.zip
FreeBSD-src-a912abf585a32639edcf9a6149c122e81563212f.tar.gz
Only look at command-line args if we're not running as init - duh!
Thanks, David.
Diffstat (limited to 'release/sysinstall/main.c')
-rw-r--r--release/sysinstall/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c
index c729158..60d292c 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++) {
OpenPOWER on IntegriCloud