sbotools2

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

commit 48a47d41831ea9c40014c29c68d6e9b020fe8b0a
parent d90732874fee7be546c7bb24eec299b6e4456bad
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Mon, 29 Aug 2016 00:36:54 +0200

SBO::Lib::Util: only warn when $conf_file exists

Diffstat:
MSBO-Lib/lib/SBO/Lib/Util.pm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SBO-Lib/lib/SBO/Lib/Util.pm b/SBO-Lib/lib/SBO/Lib/Util.pm @@ -362,7 +362,7 @@ sub read_config { } $config{JOBS} = 'FALSE' unless $config{JOBS} =~ /^\d+$/; } else { - warn "Unable to open $conf_file.\n"; + warn "Unable to open $conf_file.\n" if -f $conf_file; } $config{SBO_HOME} = '/usr/sbo' if $config{SBO_HOME} eq 'FALSE'; }