mirror of
https://github.com/webmin/webmin.git
synced 2026-06-19 02:40:32 +01:00
Check the actual command that is run https://www.virtualmin.com/node/56380
This commit is contained in:
@@ -22,7 +22,9 @@ if (!&has_command($config{'rndcconf_cmd'})) {
|
||||
|
||||
# Check if already working
|
||||
my $out;
|
||||
&execute_command("$config{'rndc_cmd'} status", undef, \$out);
|
||||
&execute_command($config{'rndc_cmd'}.
|
||||
($config{'rndc_conf'} ? " -c $config{'rndc_conf'}" : "").
|
||||
" status", undef, \$out);
|
||||
if (!$? && $out !~ /failed/) {
|
||||
print "<b>",$text{'rndc_desc2'},"</b><p>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user