commit 7265b1448f9cf4e72579ce5d2e786f05cbadd1fb parent f224411487b10057445a8c7ea8cf316d686b6241 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Mon, 1 Dec 2025 21:46:41 +0100 feat(lxc-snapshot): make pruning less dangerous Diffstat:
| M | debian_postinstall.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian_postinstall.sh b/debian_postinstall.sh @@ -193,7 +193,7 @@ for c in "${ctx[@]}"; do done; # Prune snapshots older than 2 days -find "$BACKUP_PATH/" -type f -mtime +2 -exec rm -f {} \; +find "$BACKUP_PATH" -type f -mtime +2 -exec rm -f {} \; EOF chmod +x /usr/local/bin/lxc-snapshot.sh