summaryrefslogtreecommitdiff
path: root/doCheckout.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCheckout.go')
-rw-r--r--doCheckout.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/doCheckout.go b/doCheckout.go
index 4c30d5a..a4d6b2a 100644
--- a/doCheckout.go
+++ b/doCheckout.go
@@ -101,7 +101,9 @@ func rillCheckoutUser(repo *gitpb.Repo) error {
// repo is already on user branch
return nil
}
- repo.CheckoutUser()
+ if err := repo.CheckoutUser(); err != nil {
+ return err
+ }
return nil
}