aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hst/config.go b/hst/config.go
index 73fb21b8..c34ecb1e 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -66,7 +66,7 @@ type ExtraPermConfig struct {
}
func (e *ExtraPermConfig) String() string {
- if e.Path == nil {
+ if e == nil || e.Path == nil {
return "<invalid>"
}
buf := make([]byte, 0, 5+len(e.Path.String()))