diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-29 00:36:54 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-29 00:36:54 +0200 |
commit | 48a47d41831ea9c40014c29c68d6e9b020fe8b0a (patch) | |
tree | 1f873fc45e3e7cbce843e907f40951237cb54b10 /SBO-Lib/lib | |
parent | d90732874fee7be546c7bb24eec299b6e4456bad (diff) | |
download | sbotools-48a47d41831ea9c40014c29c68d6e9b020fe8b0a.tar.xz |
SBO::Lib::Util: only warn when $conf_file exists
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib/Util.pm b/SBO-Lib/lib/SBO/Lib/Util.pm index efc40b6..72cbe29 100644 --- 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'; } |