From d9c0078e2ee36f7530bc61fa961700c62ecac593 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Fri, 15 Oct 2021 13:20:42 +0200 Subject: [PATCH] Add dot, where it was previously --- roles/shell/files/usr/local/bin/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/shell/files/usr/local/bin/backup b/roles/shell/files/usr/local/bin/backup index 7dede18..61b86de 100644 --- a/roles/shell/files/usr/local/bin/backup +++ b/roles/shell/files/usr/local/bin/backup @@ -15,7 +15,7 @@ else TYPE=full rm -f $BACKUPS/*.snapshot # Remove dumps and the previous backup if there is another one. - find $BACKUPS -name "*tgz" ! -newer $LEVEL0 ! -wholename $LEVEL0 -exec rm {} \; + find $BACKUPS -name "*.tgz" ! -newer $LEVEL0 ! -wholename $LEVEL0 -exec rm {} \; fi nice tar -cz \