aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 26e6561..205909d 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -331,6 +331,7 @@ sub git_sbo_tree {
chdir $repo_path;
$res = eval {
die unless system(qw! git fetch !) == 0; # if system() doesn't return 0, there was an error
+ _race::cond 'git repo could be changed or deleted here';
die unless system(qw! git reset --hard origin !) == 0;
unlink "$repo_path/SLACKBUILDS.TXT";
1;