From: Lennart Poettering Date: Fri, 23 Sep 2011 00:53:55 +0000 (+0200) Subject: loginctl: fix typo X-Git-Tag: v36~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77c31f8f39e7a58a8437628df146f4445d710b7;p=systemd loginctl: fix typo --- diff --git a/src/loginctl.c b/src/loginctl.c index 811c3f1a..89762b66 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; }