]> jfr.im git - uguu.git/commitdiff
Merge pull request #30 from illumniggati/patch-1
authorEric Johansson (neku) <redacted>
Wed, 19 Oct 2016 19:04:49 +0000 (21:04 +0200)
committerGitHub <redacted>
Wed, 19 Oct 2016 19:04:49 +0000 (21:04 +0200)
Update check.sh

includes/check.sh

index 9eb25f4b7eb83c0117c10df492f107ac4a7766bd..6619ff9a8811bf66a808933a429e2c6e6d14a51a 100644 (file)
@@ -1,2 +1,2 @@
 #! /bin/sh
-find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mtime +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;
+find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mmin +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;