| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 03b8181 commit 1e24892
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,11 @@ getLockFile() { | |||
| 42 | 42 | ||
| 43 | 43 | psline=`ps u $$` | |
| 44 | 44 | echo $psline > $__LOCKFILE | |
| 45 | - | ||
| 45 | + if [ ! -e $__LOCKFILE ] | ||
| 46 | + then | ||
| 47 | + return | ||
| 48 | + fi | ||
| 49 | + | ||
| 46 | 50 | for i in `seq 1 $(($__TIMEOUT * 10))` | |
| 47 | 51 | do | |
| 48 | 52 | currlock=`ls -tr /tmp/$1-*.lock | head -n1` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments