From d1684d80f9729f3da6906629244d9f5e9e6be86c Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sun, 21 Aug 2016 11:29:01 -0300 Subject: Fix information loss on voluntary resquash --- squashfu | 1 + 1 file changed, 1 insertion(+) diff --git a/squashfu b/squashfu index 20b2951..b923fca 100755 --- a/squashfu +++ b/squashfu @@ -42,6 +42,7 @@ create_new_squash () { # Determine oldest $1 bins and mount them with the current squash local old_bins=($(sort -n -r -t: -k2 "$BINVENTORY" | tail -$1 | cut -d: -f1)) + mountpoint -q "$SQUASH_MOUNT" || mount_squash mount_union_with_bins ${old_bins[@]} info "Merging old incrementals" -- cgit v1.2.3