diff options
author | Joe <rbo@gmx.us> | 2024-01-31 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-31 20:20:20 +0100 |
commit | 085d7a0bccede71445815b789b231356dbbc150f (patch) | |
tree | 129aec4d7be0a42b5dd6a516675119617a7337b3 /src/c_init.go | |
parent | qwe (diff) | |
download | hardflip-085d7a0bccede71445815b789b231356dbbc150f.tar.gz hardflip-085d7a0bccede71445815b789b231356dbbc150f.tar.bz2 hardflip-085d7a0bccede71445815b789b231356dbbc150f.tar.xz hardflip-085d7a0bccede71445815b789b231356dbbc150f.tar.zst hardflip-085d7a0bccede71445815b789b231356dbbc150f.zip |
tmp
Diffstat (limited to 'src/c_init.go')
-rw-r--r-- | src/c_init.go | 2 |
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) } |