aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 5bafe0f..8db5b2f 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -285,7 +285,7 @@ sub check_repo {
usage_error("$repo_path exists and is not empty. Exiting.\n");
}
} else {
- make_path($repo_path) or usage_error("Unable to create $repo_path.\n");
+ eval { make_path($repo_path) } or usage_error("Unable to create $repo_path.\n");
}
return 1;
}