diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-19 21:46:16 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-19 21:46:27 +0200 |
commit | 9a873590ffbc4d03208bb89262105c89e52ca295 (patch) | |
tree | ffd2c0036f57566d3f0d2d52e225b1fac285aba1 /SBO-Lib/lib/SBO/Lib.pm | |
parent | 0adc7d4b9034c15558916522e31aa2750f729592 (diff) | |
download | sbotools2-9a873590ffbc4d03208bb89262105c89e52ca295.tar.xz |
SBO::Lib: reword race condition message in open_fh
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 923349e..9141ace 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -143,7 +143,7 @@ sub open_fh { } my ($file, $op) = @_; my $fh; - _race::cond 'possibly $file has been deleted between -f test and now'; + _race::cond '$file could be deleted between -f test and open'; unless (open $fh, $op, $file) { my $warn = "Unable to open $file.\n"; my $exit = _ERR_OPENFH; |