diff options
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-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 0a4508c..50cb96b 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -342,6 +342,7 @@ sub git_sbo_tree { sub check_git_remote { script_error('check_git_remote requires two arguments.') unless @_ == 2; my ($path, $url) = @_; + return 0 unless -f "$path/.git/config"; my ($fh, $exit) = open_read("$path/.git/config"); return 0 if $exit; |