commit 7c2abfd235b94bbab142955ee0bec5876de61465
parent 4e2ac2fecc1e30c2f9336de132596d2b28b0c8c9
Author: Jacob Pipkin <j@dawnrazor.net>
Date: Wed, 30 May 2012 14:08:08 -0500
bug fix: == -> eq in string comparison
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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";
}
}