Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix test condition
Baptiste Daroussin committed 11 years ago
commit 1bec4a83bb786575c304d8a55f1b5c02125cfe55
parent 304a28f
1 file changed +1 -1
modified src/set.c
@@ -122,7 +122,7 @@ exec_set(int argc, char **argv)
		case 'A':
			sets |= AUTOMATIC;
			newautomatic = optarg[0] - '0';
-
			if (newautomatic != 0 & newautomatic != 1)
+
			if (newautomatic != 0 && newautomatic != 1)
				errx(EX_USAGE, "Wrong value for -A. "
				    "Expecting 0 or 1, got: %s",
				    optarg);