summaryrefslogtreecommitdiff
path: root/doGit.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGit.go')
-rw-r--r--doGit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doGit.go b/doGit.go
index 1f51dea..aacba3f 100644
--- a/doGit.go
+++ b/doGit.go
@@ -27,7 +27,7 @@ func findRepo(wpath string) (*gitpb.Repo, bool) {
func doPull(wpath string) {
repo, ok := findRepo(wpath)
- if ok {
+ if !ok {
return
}
os.Chdir(repo.FullPath)