aboutsummaryrefslogtreecommitdiff
path: root/nss/nsswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nsswitch.c')
-rw-r--r--nss/nsswitch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index e4f475868e..b3b540917e 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -618,7 +618,8 @@ nss_parse_service_list (const char *line)
lookup_actions action;
/* Grok ! before name to mean all statii but that one. */
- if (not = line[0] == '!')
+ not = line[0] == '!';
+ if (not)
++line;
/* Read status name. */