diff --git a/cleanup-chaos-files.sh b/cleanup-chaos-files.sh index e5ec022..4548a2b 100755 --- a/cleanup-chaos-files.sh +++ b/cleanup-chaos-files.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Author: Oliver Ladner +# Author: Oliver Ladner # License: LGPL # # Cleans directories from garbage files @@ -41,7 +41,6 @@ if [ $? -gt 0 ]; then exit 1 fi - if [ $(grep -v -c '^$' /tmp/cleanup.$$) -eq 0 ]; then echo " OK, no garbage files found" else @@ -60,5 +59,4 @@ else fi rm /tmp/cleanup.$$ - exit $RC