X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Floginctl.c;h=97c6617d7d4ef3f131d3e36584acdd6afba7b52b;hp=0d9358d279cb395b1645bc9637beecf532a69727;hb=c846716a5a0c12eb9c7aa566da4666c50cdf2eba;hpb=6d0274f11547a0f11200bb82bf598a5a253e12cf diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 0d9358d27..97c6617d7 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -979,8 +979,7 @@ static int show(DBusConnection *bus, char **args, unsigned n) { show_properties = !strstr(args[0], "status"); - if (show_properties) - pager_open_if_enabled(); + pager_open_if_enabled(); if (show_properties && n <= 1) { /* If not argument is specified inspect the manager