Merge remote-tracking branch 'origin/master' into staging
[mirror/dsa-puppet.git] / modules / ganeti2 / files / cleanup-watcher-pause-file
index ea680b5..2b761aa 100755 (executable)
@@ -12,7 +12,7 @@ if [ -e "$P" ]; then
 
   now="$(date +%s)"
 
-  if [ "$deleteafter" -gt "$now" ]; then
+  if [ "$deleteafter" -lt "$now" ]; then
     rm "$P"
   fi
 fi