Improved wgetauto.

This commit is contained in:
Christian P. MOMON 2019-01-29 15:36:43 +01:00
parent b7be0e10e4
commit 136559633d

View File

@ -21,7 +21,7 @@ capture()
wgetpid="$!"
echo "wget PID=$wgetpid"
echo "$(ps auxwww|grep $wgetpid | grep -v grep)"
echo "$(ps auxwww|grep "$wgetpid" | grep -v grep)"
sleep "$duration"
echo "Kill attempting…"