diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-15 13:07:48 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-15 13:07:48 +0200 |
commit | 14b28b226057715c592660aaf54053f21d71676c (patch) | |
tree | 3072125e3ed5fb782b4dad2193a124aff18d1b96 /SBO-Lib/lib/SBO | |
parent | 3921f2011bbe1e3f48684b4caf3a76c1d584732e (diff) | |
download | sbotools2-14b28b226057715c592660aaf54053f21d71676c.tar.xz |
SBO::Lib: document another race condition
Diffstat (limited to 'SBO-Lib/lib/SBO')
-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 205909d..923349e 100644 --- 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/ . .. /); |