diff --git a/cf-watch.sh b/cf-watch.sh index b3530099..45285290 100755 --- a/cf-watch.sh +++ b/cf-watch.sh @@ -1,6 +1,6 @@ dev=$1; -pids=$(pgrep -afl $0) +pids=$(pgrep -afl $0); if [ "$(echo $pids|awk '{print $1}')" != "$$" ]; then exit; fi