summaryrefslogtreecommitdiff
path: root/src/loginctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-23 02:53:55 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-23 16:28:27 +0200
commitd77c31f8f39e7a58a8437628df146f4445d710b7 (patch)
treeb35e9da85b0b7d43c9d95340c42c8ca7a89905b1 /src/loginctl.c
parent3e085b6c59257ca57534afc5044256f2102f9c28 (diff)
loginctl: fix typo
Diffstat (limited to 'src/loginctl.c')
-rw-r--r--src/loginctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loginctl.c b/src/loginctl.c
index 811c3f1a90..89762b66b0 100644
--- a/src/loginctl.c
+++ b/src/loginctl.c
@@ -1064,7 +1064,7 @@ static int show(DBusConnection *bus, char **args, unsigned n) {
uint32_t u;
ret = get_user_creds((const char**) (args+i), &uid, NULL, NULL);
- if (r < 0) {
+ if (ret < 0) {
log_error("User %s unknown.", args[i]);
goto finish;
}