diff options
author | Joe <rbo@gmx.us> | 2023-12-15 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-15 20:20:20 +0100 |
commit | 159a9050b5f45fde0c1c8c2f679980b18d4b29d2 (patch) | |
tree | c66d91135c26432badc54cddf847ecc26cf1ed3a /c_init.go | |
parent | good parsing (diff) | |
download | hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.gz hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.bz2 hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.xz hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.tar.zst hardflip-159a9050b5f45fde0c1c8c2f679980b18d4b29d2.zip |
good shit
Diffstat (limited to 'c_init.go')
-rw-r--r-- | c_init.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,8 +93,8 @@ func c_recurse_data_dir(dir string, root string, lhost *HostList) { if file.IsDir() == true { c_recurse_data_dir(dir + file.Name() + "/", root, lhost) } else if filepath.Ext(file.Name()) == ".yml" { - fmt.Println(dir + file.Name()) host := c_read_yaml_file(root + dir + file.Name()) + host.Path = dir + file.Name()[0:len(file.Name()) - 4] lhost.add_back(host) } } |