aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_utils.go')
-rw-r--r--src/c_utils.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_utils.go b/src/c_utils.go
index 8d95a77..d95ac5a 100644
--- a/src/c_utils.go
+++ b/src/c_utils.go
@@ -86,6 +86,7 @@ func c_get_conf_dir(load_err *[]error) string {
if err := os.MkdirAll(ptr, os.ModePerm); err != nil {
*load_err = append(*load_err, err)
}
+ return ptr
} else if err != nil {
*load_err = append(*load_err, err)
return ""