From 9a873590ffbc4d03208bb89262105c89e52ca295 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Thu, 19 May 2016 21:46:16 +0200 Subject: SBO::Lib: reword race condition message in open_fh --- SBO-Lib/lib/SBO/Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') 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; -- cgit v1.2.3