diff options
| author | Dave Reisner <d@falconindy.com> | 2010-01-11 20:51:02 -0500 |
|---|---|---|
| committer | Dave Reisner <d@falconindy.com> | 2010-01-11 20:51:02 -0500 |
| commit | b49403a7be080eee110fe9f75d4e67fa5eeb0773 (patch) | |
| tree | 7ac94a4988793062d100c0be670c3af8ec83a67a /squashfu | |
| parent | bdaa697573fa9e9978e66c4ad3ccf323c7b66771 (diff) | |
| download | squashfu-b49403a7be080eee110fe9f75d4e67fa5eeb0773.tar.gz | |
Adjust get_next_available_bin so that it actually returns the next available, not the highest numbered
Diffstat (limited to 'squashfu')
| -rw-r--r-- | squashfu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 () { |
