X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Ffiles%2Fcleanup-watcher-pause-file;h=2b761aac59091a57fda13d7385a33810ba596557;hb=67e302d68c0e1847f62cbf778f91f00079a59297;hp=ea680b5e390d96f3c309a2a1e68a679d53a22443;hpb=f7278bfb87b71ce89849f9607a460e03893fb412;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/files/cleanup-watcher-pause-file b/modules/ganeti2/files/cleanup-watcher-pause-file index ea680b5e3..2b761aac5 100755 --- a/modules/ganeti2/files/cleanup-watcher-pause-file +++ b/modules/ganeti2/files/cleanup-watcher-pause-file @@ -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