aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--squashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index ff070eb..ccf2cfd 100644
--- a/squashfu
+++ b/squashfu
@@ -40,7 +40,7 @@ mount_union_with_bins () {
get_next_available_bin () {
# Arguments: none
# Returns: Numeric value of the next unused bin
- return $(cut -d: -f1 "$BINVENTORY" | sort -n | tail -1)
+ return $[ $(cut -d: -f1 "$BINVENTORY" | sort -n | tail -1) + 1 ]
}
sweep_bins () {