diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-17 13:47:54 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-17 13:47:54 -0500 |
commit | 54c33156ebbf5d1282c02a2cda575bd840830bcf (patch) | |
tree | d6f54da03426a14fa59dcb0350075995ea738819 | |
parent | 812e2c7f19ea39a3195d7ba5af64717cc07dd237 (diff) | |
download | squashfu-54c33156ebbf5d1282c02a2cda575bd840830bcf.tar.gz |
Allow rollback of 0 to see current backup set
-rwxr-xr-x | squashfu | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -286,9 +286,9 @@ action_rollback () { die "The rollback action requires 1 additional argument." fi - if [[ $1 -le 0 ]]; then - die "Please provide a positive number of backups to roll back" - fi +# if [[ $1 -le 0 ]]; then +# die "Please provide a positive number of backups to roll back" +# fi # Form a chronologically ordered list of bins, assuming the user didn't give bogus input local bin_list=($(grep -vE "^[ ]*$" "$BINVENTORY" | sort -t: -r -n -k2 | cut -d: -f1)) |