sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 0d54187c08404c73f8b9a2d229b7766c7253ab97
parent d40531ccf03b7b711dc1a87a5b89e0fda38fc690
Author: Jacob Pipkin <d4wnr4z0r@yahoo.com>
Date:   Sat, 26 May 2012 10:24:39 -0500

allow -j to be set to FALSE

Diffstat:
Msboconfig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sboconfig b/sboconfig @@ -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; }