###Scripts version 2007###

This commit is contained in:
castro-fidel
2021-09-04 12:31:09 +02:00
parent e291a2e90d
commit 718af5eb05
3 changed files with 5 additions and 2 deletions

View File

@ -576,7 +576,7 @@ pw_kill_autostart () {
else
sleep 10
while true ; do
if [ -z "`ps aux | grep "$1" | head -n 1 | awk '{print $2}' | grep -v grep`" ] && [ ! -z "`pgrep wrap | head -n 1`" ]; then
if [ -z "`ps aux | grep "wgc.exe" | grep -v grep | head -n 1 | awk '{print $2}'`" ] && [ ! -z "`pgrep wrap | head -n 1`" ]; then
echo -e "PID "$1" not found"
sleep 1
else