mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix to lowercase output when testing 23adcc8bc0
This commit is contained in:
@@ -549,7 +549,7 @@ elsif ($init_mode eq "systemd") {
|
||||
else {
|
||||
my $out = &backquote_command("systemctl is-enabled ".
|
||||
quotemeta($unit)." 2>&1");
|
||||
if ($out =~ /no such file/i) {
|
||||
if (lc($out) =~ /no such file/) {
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user