diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-04 16:01:32 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-10-04 16:01:32 +0200 |
commit | 4c701096002fff540d9ddb3b21398c551ac3af78 (patch) | |
tree | 537e654dc92baa5eed5b6ff69867114384ecfa47 /src/resolve/resolved-resolv-conf.c | |
parent | Merge pull request #6986 from OpenDZ/tixxdz/seccomp-more-default-syscalls-v1 (diff) | |
download | systemd-4c701096002fff540d9ddb3b21398c551ac3af78.tar.xz systemd-4c701096002fff540d9ddb3b21398c551ac3af78.zip |
tree-wide: use IN_SET macro (#6977)
Diffstat (limited to 'src/resolve/resolved-resolv-conf.c')
-rw-r--r-- | src/resolve/resolved-resolv-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index f4e071ebaa..2af77b3407 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -87,7 +87,7 @@ int manager_read_resolv_conf(Manager *m) { char *l; l = strstrip(line); - if (*l == '#' || *l == ';') + if (IN_SET(*l, '#', ';')) continue; a = first_word(l, "nameserver"); |