chiark / gitweb /
Link against -lcap only where required
[elogind.git] / src / cryptsetup-generator.c
index 696f44ae3670dee8868a1b97f6d8d93858560c30..db8ebdfb1882cfe00301af142f4908bcaee9e779 100644 (file)
@@ -47,7 +47,7 @@ static bool has_option(const char *haystack, const char *needle) {
                         continue;
                 }
 
-                if (f[l] != 0 && f[l] == ',') {
+                if (f[l] != 0 && f[l] != ',') {
                         f++;
                         continue;
                 }