summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-07-01 03:50:58 +0000
committerjkh <jkh@FreeBSD.org>1997-07-01 03:50:58 +0000
commitf357055fa53bf3310fd9dfebc91932e8fd640241 (patch)
treeb6ff62df442b9029f2dac99d7eba9bbbf8fbc0d0 /release
parent1e93934bf07fa1f51974db834a85098f54791d89 (diff)
downloadFreeBSD-src-f357055fa53bf3310fd9dfebc91932e8fd640241.zip
FreeBSD-src-f357055fa53bf3310fd9dfebc91932e8fd640241.tar.gz
Allow distSetByName() to process all the relevant entries.
Submitted by: msmith
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/dist.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index a003fcd..cf45dea 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.109 1997/06/09 01:19:43 jkh Exp $
+ * $Id: dist.c,v 1.110 1997/06/13 11:00:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -393,13 +393,10 @@ distSetByName(Distribution *dist, char *name)
else if (!strcmp(dist[i].my_name, name)) {
*(dist[i].my_mask) |= dist[i].my_bit;
status = TRUE;
- break;
}
else if (dist[i].my_dist) {
- if (distSetByName(dist[i].my_dist, name)) {
+ if (distSetByName(dist[i].my_dist, name))
status = TRUE;
- break;
- }
}
}
return status;
OpenPOWER on IntegriCloud