sbotools2

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

commit 14b28b226057715c592660aaf54053f21d71676c
parent 3921f2011bbe1e3f48684b4caf3a76c1d584732e
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sun, 15 May 2016 13:07:48 +0200

SBO::Lib: document another race condition

Diffstat:
MSBO-Lib/lib/SBO/Lib.pm | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -277,6 +277,7 @@ sub migrate_repo { # check for the validity of new $config{SBO_HOME} sub check_repo { if (-d $repo_path) { + _race::cond '$repo_path could be deleted after -d check'; opendir(my $repo_handle, $repo_path); FIRST: while (my $dir = readdir $repo_handle) { next FIRST if in($dir => qw/ . .. /);