diff --git a/src/branches2.cpp b/src/branches2.cpp index e6093208..42534dfa 100644 --- a/src/branches2.cpp +++ b/src/branches2.cpp @@ -38,5 +38,6 @@ Branches2::clonepath(ghc::filesystem::path basepath_, } } - return 0; + errno = ENOENT; + return -1; }