]> err.no Git - systemd/commitdiff
loginctl: fix typo
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Sep 2011 00:53:55 +0000 (02:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Sep 2011 14:28:27 +0000 (16:28 +0200)
src/loginctl.c

index 811c3f1a90ae89a5f508ebfcc98f476523a0f293..89762b66b01cf8f9592ba417313d4ec6eaccc2fe 100644 (file)
@@ -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;
                         }