diff options
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/sestatus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/selinux/sestatus.c b/selinux/sestatus.c index 1351600..eca557e 100644 --- a/selinux/sestatus.c +++ b/selinux/sestatus.c @@ -54,10 +54,7 @@ static void read_config(char **pc, int npc, char **fc, int nfc) pc[0] = fc[0] = NULL; parser = config_open("/etc/sestatus.conf"); - if (!parser) - return; - - while (config_read(parser, &buf, 1, 1, "# \t", PARSE_LAST_IS_GREEDY)) { + while (config_read(parser, &buf, 1, 1, "# \t", PARSE_NORMAL)) { if (strcmp(buf, "[process]") == 0) { section = 1; } else if (strcmp(buf, "[files]") == 0) { |