summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.go b/config.go
index b7b289f..bcf437f 100644
--- a/config.go
+++ b/config.go
@@ -98,7 +98,11 @@ func (f *Forge) DumpENV() {
} else {
log.Infof("forge ReposPB = %s\n", f.Repos.Filename)
}
- log.Infof("forge PatchPB = %s\n", f.Patches.Filename)
+ if f.Patches == nil {
+ log.Infof("forge PatchPB = <nil>\n")
+ } else {
+ log.Infof("forge PatchPB = %s\n", f.Patches.Filename)
+ }
DumpENV()
}