aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-17 21:05:08 -0500
committerDave Reisner <d@falconindy.com>2010-01-17 21:05:08 -0500
commitb0b5a70565bf654e0cfcb91ff4cae6c3165e4d96 (patch)
treefb7152b106274cd5409cb7b40715104ec1c3da68 /squashfu
parentddcb110fcea1b6ccc81e07034aa3d863e7d431a4 (diff)
downloadsquashfu-b0b5a70565bf654e0cfcb91ff4cae6c3165e4d96.tar.gz
Remove unused code in action_rollback
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files changed, 0 insertions, 4 deletions
diff --git a/squashfu b/squashfu
index f63839f..45dd92f 100755
--- a/squashfu
+++ b/squashfu
@@ -285,10 +285,6 @@ 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
-
# 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))