summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doPull.go b/doPull.go
index 7e74812..4274abf 100644
--- a/doPull.go
+++ b/doPull.go
@@ -89,7 +89,7 @@ func doPull() (string, error) {
}
// below this, you must not be in 'normal' mode
- if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {
+ if me.forge.Mode == forgepb.ForgeMode_NORMAL {
s = "you must check out the devel or master branches"
return s, errors.New("wrong mode " + me.forge.GetMode())
}