diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-06-07 19:36:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-06-07 19:36:47 +0200 |
commit | c685ba92cbc12bba5ec9ba8ee174eb5fb11e26a9 (patch) | |
tree | 3337a67a8d3506a9376dc0fa23591a0741a03066 | |
parent | 8871d7ffdc1fcd683be9ad155058c0e1538da46e (diff) | |
download | w3watch-c685ba92cbc12bba5ec9ba8ee174eb5fb11e26a9.tar.gz w3watch-c685ba92cbc12bba5ec9ba8ee174eb5fb11e26a9.tar.xz |
fix garbage collector
-rwxr-xr-x | w3watch | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -101,11 +101,9 @@ collectGarbage() { configSum=$(echo "$configEntry" | sha1sum | awk '{print $1;}') if [ "$cacheSum" == "$configSum" ]; then - continue 2 + return 1 fi - done - - rm -f $cacheEntry + done && rm -f $cacheEntry done } |