summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-07-17 01:49:26 +0200
committerKay Sievers <kay@vrfy.org>2013-07-17 01:49:26 +0200
commit83a05f2c89d228a9a92b998b1cbd4a51f3693711 (patch)
treee1313137c81568acb35cf7e4cb4932b86a9a57e1 /src/login
parentdb0c1e3bd39c9151ba4ac8e029ec77a4ec923bd1 (diff)
logind: remove "if (0)" left-over
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index 390b4b2885..25abcbcf80 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -275,9 +275,9 @@ int devnode_acl_all(struct udev *udev,
log_debug("Found static node %s for seat %s", n, seat);
r = set_put(nodes, n);
- if (0 && r < 0 && r != -EEXIST) {
+ if (r < 0 && r != -EEXIST)
goto finish;
- } else
+ else
r = 0;
}
}