diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-13 23:58:24 +0000 | 
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-13 23:58:24 +0000 | 
| commit | eea0f12f5566590880794583493313c1e659491b (patch) | |
| tree | d51671bbd246aeacb20900e5688ea8552dff133b /SBO-Lib | |
| parent | 343c71cfa9f54d13f61727bf10cf9dc7bdf44949 (diff) | |
| download | sbotools2-eea0f12f5566590880794583493313c1e659491b.tar.xz | |
SBO::Lib: Add race condition check to read_config
Diffstat (limited to 'SBO-Lib')
| -rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 490b278..26e6561 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -174,6 +174,7 @@ our %config = (  sub read_config {  	my %conf_values;  	if (-f $conf_file) { +		_race::cond '$conf_file might not exist after -f';  		my ($fh, $exit) = open_read $conf_file;  		if ($exit) {  			warn $fh; | 
