Improved wgetauto (again).

This commit is contained in:
Christian P. MOMON 2019-01-29 15:38:13 +01:00
parent 136559633d
commit 9168091a62

View File

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