Merge branch 'master' of github.com:webmin/webmin

This commit is contained in:
Jamie Cameron
2022-07-02 15:04:36 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ $product = $ARGV[0] || "webmin";
$ucproduct = ucfirst($product);
$< == 0 || die "atboot.pl must be run as root";
my $kill = &has_command("kill");
my $kill = &has_command("kill") || '/bin/kill';
if ($init_mode eq "osx") {
# Darwin System

View File

@@ -21,7 +21,7 @@ if ($product) {
unlink("$p/$product");
}
my $temp = &transname();
my $killcmd = &has_command('kill');
my $killcmd = &has_command('kill') || '/bin/kill';
$ENV{'WEBMIN_KILLCMD'} = $killcmd;
&copy_source_dest("$root_directory/webmin-systemd", "$temp");
my $lref = &read_file_lines($temp);