]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: Fix --show timestamp
authorLudwig Nussel <ludwig.nussel@suse.de>
Tue, 4 Jan 2022 09:03:49 +0000 (10:03 +0100)
committerLudwig Nussel <ludwig.nussel@suse.de>
Wed, 5 Jan 2022 13:19:11 +0000 (14:19 +0100)
src/systemctl/systemctl-logind.c

index 2d2043f1772c9ddebdfc3e58de96cb50937390f7..114641cdc7a5d9d37ebee704820667febc4c6467 100644 (file)
@@ -398,7 +398,7 @@ int logind_show_shutdown(void) {
 
         log_info("%s scheduled for %s, use 'shutdown -c' to cancel.",
                  action,
-                 FORMAT_TIMESTAMP_STYLE(arg_when, arg_timestamp_style));
+                 FORMAT_TIMESTAMP_STYLE(elapse, arg_timestamp_style));
 
         return 0;
 #else