summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-06 15:15:39 -0500
committerWill Woods <wwoods@redhat.com>2009-03-06 15:15:39 -0500
commite522b4d08606ab290daf3abefa988323df6807de (patch)
tree870a2b82905f52b0c315e33aa1b32377a1918207
parentd6a047e18df0bca5361341052fe35fd1f72fb000 (diff)
downloaddebuginfofs-e522b4d08606ab290daf3abefa988323df6807de.tar.gz
debuginfofs-e522b4d08606ab290daf3abefa988323df6807de.tar.xz
debuginfofs-e522b4d08606ab290daf3abefa988323df6807de.zip
Fix -mtime -> -mmin
-rwxr-xr-xserver/debuginfofs-cleanup4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/debuginfofs-cleanup b/server/debuginfofs-cleanup
index 5b9f049..c8bca6a 100755
--- a/server/debuginfofs-cleanup
+++ b/server/debuginfofs-cleanup
@@ -68,8 +68,8 @@ fi
echo "Before:"
df -h $exportdir
-find $exportdir/build-id -type f -mtime "+$age" -delete
-find $exportdir/packages -mindepth 3 -maxdepth 3 -mtime "+$age" \
+find $exportdir/build-id -type f -mmin "+$age" -delete
+find $exportdir/packages -mindepth 3 -maxdepth 3 -mmin "+$age" \
-exec rm -rf {} +
echo "Now:"
df -h $exportdir