mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 22:13:01 +07:00
initctl: Show WTMP log first and active UTMP last
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -294,8 +294,8 @@ static int do_reboot (char *UNUSED(arg)) { return do_signal(SIGTERM, "reboot");
|
||||
|
||||
static int do_utmp(char *UNUSED(cmd))
|
||||
{
|
||||
return utmp_show(_PATH_UTMP) ||
|
||||
utmp_show(_PATH_WTMP);
|
||||
return utmp_show(_PATH_WTMP) ||
|
||||
utmp_show(_PATH_UTMP);
|
||||
}
|
||||
|
||||
static int show_version(char *UNUSED(arg))
|
||||
|
||||
Reference in New Issue
Block a user