summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doPatch.go b/doPatch.go
index 5fc54ed..36357b3 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -134,7 +134,7 @@ func doPatch() error {
// return doPatchList()
applied := findApplied()
- if applied.Len() == 0 {
+ if applied == nil || applied.Len() == 0 {
log.Info("no patches have been appled to the devel branch yet")
return nil
}