diff options
author | jkh <jkh@FreeBSD.org> | 1997-09-16 10:14:23 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-09-16 10:14:23 +0000 |
commit | d387f3a0a99b84c361775c58a44002ed3511c815 (patch) | |
tree | 0a3cae00e9faa8ad5df5d833845a3dbf728e63b4 /release/sysinstall/dist.c | |
parent | 1bd32b987b7336e1c1c99ba6a70f36b84af119ed (diff) | |
download | FreeBSD-src-d387f3a0a99b84c361775c58a44002ed3511c815.zip FreeBSD-src-d387f3a0a99b84c361775c58a44002ed3511c815.tar.gz |
MF22: pst's changes.
Submitted by: pst
Diffstat (limited to 'release/sysinstall/dist.c')
-rw-r--r-- | release/sysinstall/dist.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index ed40651..f0f3d19 100644 --- a/release/sysinstall/dist.c +++ b/release/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.111 1997/07/01 03:50:58 jkh Exp $ + * $Id: dist.c,v 1.112 1997/09/09 16:26:29 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -390,13 +390,14 @@ distSetByName(Distribution *dist, char *name) /* This is shorthand for "dist currently disabled" */ if (!dist[i].my_dir) continue; - else if (!strcmp(dist[i].my_name, name)) { + if (!strcmp(dist[i].my_name, name)) { *(dist[i].my_mask) |= dist[i].my_bit; status = TRUE; } - else if (dist[i].my_dist) { - if (distSetByName(dist[i].my_dist, name)) + if (dist[i].my_dist) { + if (distSetByName(dist[i].my_dist, name)) { status = TRUE; + } } } return status; |