mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
initctl: Fix regression in initctl utmp
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
b06502b0cb
commit
73f1b986dd
1 file changed
+1
-1
+1
-1
@@ -408,7 +408,7 @@ int utmp_show(char *file)
|
||||
|
||||
static int do_utmp(char *file)
|
||||
{
|
||||
if (file)
|
||||
if (fexist(file))
|
||||
return utmp_show(file);
|
||||
|
||||
return utmp_show(_PATH_WTMP) ||
|
||||
|
||||
Reference in new issue
Block a user