Revert "Add kill command fall-back (just in case)"

This reverts commit 6a68cc8149.
This commit is contained in:
iliajie
2022-07-03 02:19:36 +03:00
parent 6b470c0290
commit 63a2e3e8bc
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") || '/bin/kill';
my $kill = &has_command("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') || '/bin/kill';
my $killcmd = &has_command('kill');
$ENV{'WEBMIN_KILLCMD'} = $killcmd;
&copy_source_dest("$root_directory/webmin-systemd", "$temp");
my $lref = &read_file_lines($temp);