From 99ac96511bed17f48d908db3d00a1f48579ba011 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 12 Aug 2025 04:38:45 +0900 Subject: hst/fs: interface filesystem config This allows mount points to be represented by different underlying structs. Signed-off-by: Ophestra --- hst/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hst/config.go') 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 "" } buf := make([]byte, 0, 5+len(e.Path.String())) -- cgit v1.3.1