diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-05-30 14:08:08 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-05-30 14:08:08 -0500 |
commit | 7c2abfd235b94bbab142955ee0bec5876de61465 (patch) | |
tree | a9d03bf0d758b0bdbbe04a5e476b614e90b44c2d | |
parent | 4e2ac2fecc1e30c2f9336de132596d2b28b0c8c9 (diff) | |
download | sbotools2-7c2abfd235b94bbab142955ee0bec5876de61465.tar.xz |
bug fix: == -> eq in string comparison
-rwxr-xr-x | sboupgrade | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } } |