diff options
author | jkh <jkh@FreeBSD.org> | 1999-09-01 04:29:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-09-01 04:29:30 +0000 |
commit | 2fdb12ea191206861f3cd9bf3a0d8ba85dd96aae (patch) | |
tree | 629d137afaab5d765bfc0fc21e0220e1f8acb9c7 /release/sysinstall/variable.c | |
parent | 73a7a67d13cba01eb39397ff54125ce8d3e6f8cc (diff) | |
download | FreeBSD-src-2fdb12ea191206861f3cd9bf3a0d8ba85dd96aae.zip FreeBSD-src-2fdb12ea191206861f3cd9bf3a0d8ba85dd96aae.tar.gz |
MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support. The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet. If it turns out that this is the case, I'll MFC those
changes too.
Diffstat (limited to 'release/sysinstall/variable.c')
-rw-r--r-- | release/sysinstall/variable.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/sysinstall/variable.c b/release/sysinstall/variable.c index 1e2bf9a..40f2284 100644 --- a/release/sysinstall/variable.c +++ b/release/sysinstall/variable.c @@ -58,8 +58,7 @@ make_variable(char *var, char *value, int dirty) setenv(var, value, 1); free(vp->value); vp->value = strdup(value); - if (dirty != -1) - vp->dirty = dirty; + vp->dirty = dirty; return; } } @@ -69,8 +68,6 @@ make_variable(char *var, char *value, int dirty) vp = (Variable *)safe_malloc(sizeof(Variable)); vp->name = strdup(var); vp->value = strdup(value); - if (dirty == -1) - dirty = 0; vp->dirty = dirty; vp->next = VarHead; VarHead = vp; |