diff options
author | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-26 10:24:39 -0500 |
---|---|---|
committer | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-26 10:24:39 -0500 |
commit | 0d54187c08404c73f8b9a2d229b7766c7253ab97 (patch) | |
tree | 2fc11b76cae92d5323c532a98eb191caa05c5598 | |
parent | d40531ccf03b7b711dc1a87a5b89e0fda38fc690 (diff) | |
download | sbotools2-0d54187c08404c73f8b9a2d229b7766c7253ab97.tar.xz |
allow -j to be set to FALSE
-rwxr-xr-x | sboconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ while (my ($key, $value) = each %valid_confs) { $changes{$value} = $options{$key} if exists $options{$key}; } if (exists $changes{JOBS}) { - unless ($changes{JOBS} =~ /^\d+$/) { + unless ($changes{JOBS} =~ /^\d+$/ || $changes{JOBS} eq 'FALSE') { print "You have provided an invalid parameter for -j\n"; exit 1; } |