aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-05-30 14:08:08 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-05-30 14:08:08 -0500
commit7c2abfd235b94bbab142955ee0bec5876de61465 (patch)
treea9d03bf0d758b0bdbbe04a5e476b614e90b44c2d
parent4e2ac2fecc1e30c2f9336de132596d2b28b0c8c9 (diff)
downloadsbotools2-7c2abfd235b94bbab142955ee0bec5876de61465.tar.xz
bug fix: == -> eq in string comparison
-rwxr-xr-xsboupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboupgrade b/sboupgrade
index a0259ad..0883ad0 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -54,7 +54,7 @@ my $only_new = exists $options{o} ? 'TRUE' : 'FALSE';
my $compat32 = exists $options{p} ? 'TRUE' : 'FALSE';
if (exists $options{j}) {
- unless ($options{j} =~ /^\d+$/ || $options{j} == 'FALSE') {
+ unless ($options{j} =~ /^\d+$/ || $options{j} eq 'FALSE') {
die "You have provided an invalid parameter for -j\n";
}
}