From 0d54187c08404c73f8b9a2d229b7766c7253ab97 Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Sat, 26 May 2012 10:24:39 -0500 Subject: allow -j to be set to FALSE --- sboconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sboconfig') diff --git a/sboconfig b/sboconfig index bc496f0..c1d4047 100755 --- 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; } -- cgit v1.2.3