summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/sysinstall/dist.c4
-rw-r--r--usr.sbin/sysinstall/dist.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index 80a8ebe..a003fcd 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.108 1997/06/05 09:47:56 jkh Exp $
+ * $Id: dist.c,v 1.109 1997/06/09 01:19:43 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -391,7 +391,7 @@ distSetByName(Distribution *dist, char *name)
if (!dist[i].my_dir)
continue;
else if (!strcmp(dist[i].my_name, name)) {
- *(dist[i].my_mask) &= ~(dist[i].my_bit);
+ *(dist[i].my_mask) |= dist[i].my_bit;
status = TRUE;
break;
}
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 80a8ebe..a003fcd 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/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.108 1997/06/05 09:47:56 jkh Exp $
+ * $Id: dist.c,v 1.109 1997/06/09 01:19:43 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -391,7 +391,7 @@ distSetByName(Distribution *dist, char *name)
if (!dist[i].my_dir)
continue;
else if (!strcmp(dist[i].my_name, name)) {
- *(dist[i].my_mask) &= ~(dist[i].my_bit);
+ *(dist[i].my_mask) |= dist[i].my_bit;
status = TRUE;
break;
}
OpenPOWER on IntegriCloud