aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-17 13:47:54 -0500
committerDave Reisner <d@falconindy.com>2010-01-17 13:47:54 -0500
commit54c33156ebbf5d1282c02a2cda575bd840830bcf (patch)
treed6f54da03426a14fa59dcb0350075995ea738819
parent812e2c7f19ea39a3195d7ba5af64717cc07dd237 (diff)
downloadsquashfu-54c33156ebbf5d1282c02a2cda575bd840830bcf.tar.gz
Allow rollback of 0 to see current backup set
-rwxr-xr-xsquashfu6
1 files 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))