Commit ea980bee authored by David Zeuthen's avatar David Zeuthen
Browse files

print warning to stderr if a policy file is malformed and we're ignoring it

parent 149a3df1
...@@ -169,8 +169,8 @@ _polkit_policy_cache_new (const char *dirname, polkit_bool_t load_descriptions, ...@@ -169,8 +169,8 @@ _polkit_policy_cache_new (const char *dirname, polkit_bool_t load_descriptions,
goto out; goto out;
} }
//kit_warning ("libpolkit: ignoring malformed policy file: %s", kit_warning ("libpolkit: ignoring malformed policy file: %s",
// polkit_error_get_error_message (pk_error)); polkit_error_get_error_message (pk_error));
polkit_error_free (pk_error); polkit_error_free (pk_error);
continue; continue;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment