aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_init.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.go')
-rw-r--r--src/c_init.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/c_init.go b/src/c_init.go
index 85eb9c8..f09da57 100644
--- a/src/c_init.go
+++ b/src/c_init.go
@@ -56,6 +56,7 @@ import (
"fmt"
"os"
"path/filepath"
+ "strings"
)
type HardOpts struct {
@@ -107,6 +108,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
dir, filename, err)
*load_err = append(*load_err, errors.New(str))
}
+ host_node.Pass = strings.TrimSuffix(host_node.Pass, "\n")
}
dir_node.lhost.add_back(host_node)
}