mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix not to use bare words
This commit is contained in:
@@ -31,7 +31,7 @@ if ($in{'idx'} ne '') {
|
||||
if ($in{'idx'} =~ /^journal-/) {
|
||||
my @systemctl_cmds = &get_systemctl_cmds(1);
|
||||
my ($log);
|
||||
if ($in{idx} eq 'journal-u') {
|
||||
if ($in{'idx'} eq 'journal-u') {
|
||||
($log) = grep { $_->{'cmd'} =~ /-u\s+\w+/ } @systemctl_cmds;
|
||||
$in{'idx'} = $log->{'id'};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user