diff options
-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"; } } |