mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
initctl: Show WTMP log first and active UTMP last
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
65e44dc88f
commit
62cb683af0
1 file changed
+2
-2
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user