diff --git a/wgetauto/wgetauto b/wgetauto/wgetauto index 98eb682..6917017 100755 --- a/wgetauto/wgetauto +++ b/wgetauto/wgetauto @@ -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…"