diff options
author | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
commit | 4dbfd5f7297fdd7a237c3c563fdda79d77f299bb (patch) | |
tree | b6385f5e88b9ddc8fb2e3080a50f631c9c7ed22b /c_init.go | |
parent | cool (diff) | |
download | hardflip-4dbfd5f7297fdd7a237c3c563fdda79d77f299bb.tar.gz hardflip-4dbfd5f7297fdd7a237c3c563fdda79d77f299bb.tar.bz2 hardflip-4dbfd5f7297fdd7a237c3c563fdda79d77f299bb.tar.xz hardflip-4dbfd5f7297fdd7a237c3c563fdda79d77f299bb.tar.zst hardflip-4dbfd5f7297fdd7a237c3c563fdda79d77f299bb.zip |
fking good
Diffstat (limited to '')
-rw-r--r-- | c_init.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ func c_recurse_data_dir(dir string, root string, lhost *HostList) { c_recurse_data_dir(dir + file.Name() + "/", root, lhost) } else if filepath.Ext(file.Name()) == ".yml" { host := c_read_yaml_file(root + dir + file.Name()) - if len(host.Name) == 0 { + if host == nil { return } host.Filename = file.Name() |