chiark / gitweb /
Add function to open temp files in selinux mode
[elogind.git] / src / shared / util.c
index 33427981ebcf33f5532cd08bbb1a387bb858aeb6..75dc58b63db2edeceab89b3c279a53924a2094de 100644 (file)
@@ -5419,7 +5419,7 @@ bool string_has_cc(const char *p, const char *ok) {
 
         for (t = p; *t; t++) {
                 if (ok && strchr(ok, *t))
-                        return false;
+                        continue;
 
                 if (*t > 0 && *t < ' ')
                         return true;