systemctl: if we can't detect the system-is-running state, assume it's not running
This commit is contained in:
parent
e686a616e8
commit
bfeec178db
|
@ -6619,7 +6619,7 @@ static int is_system_running(int argc, char *argv[], void *userdata) {
|
||||||
|
|
||||||
if (!arg_quiet)
|
if (!arg_quiet)
|
||||||
puts("unknown");
|
puts("unknown");
|
||||||
return 0;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arg_quiet)
|
if (!arg_quiet)
|
||||||
|
|
Loading…
Reference in a new issue