initctl: Show WTMP log first and active UTMP last

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-23 16:35:44 +02:00
1 parent 65e44dc88f
commit 62cb683af0
1 file changed
+2 -2
+2 -2
View File
@@ -294,8 +294,8 @@ static int do_reboot (char *UNUSED(arg)) { return do_signal(SIGTERM, "reboot");
static int do_utmp(char *UNUSED(cmd)) static int do_utmp(char *UNUSED(cmd))
{ {
return utmp_show(_PATH_UTMP) || return utmp_show(_PATH_WTMP) ||
utmp_show(_PATH_WTMP); utmp_show(_PATH_UTMP);
} }
static int show_version(char *UNUSED(arg)) static int show_version(char *UNUSED(arg))