diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-03-10 13:42:05 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-03-10 13:42:05 +0000 |
| commit | beb1c32dd3065500eb995d11b7d55cb1c33ba6cc (patch) | |
| tree | b45967662837f977e757dc6d77890228ea34b0a0 /usr.sbin/sysinstall/main.c | |
| parent | f380a4f2e1fc035df0e0755453badecb5a99d8be (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/main.c')
| -rw-r--r-- | usr.sbin/sysinstall/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/main.c b/usr.sbin/sysinstall/main.c index 6c1ccc350261..2769637562c2 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.47 1997/09/16 18:57:09 jkh Exp $ + * $Id: main.c,v 1.48 1998/02/22 09:54:17 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -67,7 +67,9 @@ main(int argc, char **argv) /* Set default flag and variable values */ installVarDefaults(NULL); - installEnvironment(); + /* only when multi-user is it reasonable to do this here */ + if (!RunningAsInit) + installEnvironment(); if (argc > 1 && !strcmp(argv[1], "-fake")) { variable_set2(VAR_DEBUG, "YES"); |
