From 54c33156ebbf5d1282c02a2cda575bd840830bcf Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jan 2010 13:47:54 -0500 Subject: Allow rollback of 0 to see current backup set --- squashfu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/squashfu b/squashfu index d5b6036..e111245 100755 --- a/squashfu +++ b/squashfu @@ -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)) -- cgit v1.2.3