mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Use less harsh kill first b129fd8a27
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -622,7 +622,7 @@ echo "if [ \"\$pid\" != \"\" ]; then" >>$config_dir/stop
|
||||
echo " kill \$pid || exit 1" >>$config_dir/stop
|
||||
echo " if [ \"\$1\" = \"--kill\" ]; then" >>$config_dir/stop
|
||||
echo " sleep 1" >>$config_dir/stop
|
||||
echo " (kill -9 -- -\$pid || kill -9 \$pid) 2>/dev/null" >>$config_dir/stop
|
||||
echo " (kill -9 \$pid || kill -9 -- -\$pid) 2>/dev/null" >>$config_dir/stop
|
||||
echo " fi" >>$config_dir/stop
|
||||
echo " exit 0" >>$config_dir/stop
|
||||
echo "else" >>$config_dir/stop
|
||||
|
||||
Reference in New Issue
Block a user