aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-19 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-19 20:20:20 +0100
commit70f5688432e75a36ba0578514161af1b6a934876 (patch)
tree7d8a31ca9638c3a4e4ba60db55cdd789de167fb3 /c_parse.go
parentgood error msgs (diff)
downloadhardflip-70f5688432e75a36ba0578514161af1b6a934876.tar.gz
hardflip-70f5688432e75a36ba0578514161af1b6a934876.tar.bz2
hardflip-70f5688432e75a36ba0578514161af1b6a934876.tar.xz
hardflip-70f5688432e75a36ba0578514161af1b6a934876.tar.zst
hardflip-70f5688432e75a36ba0578514161af1b6a934876.zip
go
Diffstat (limited to '')
-rw-r--r--c_parse.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_parse.go b/c_parse.go
index 45dec61..61d4dfc 100644
--- a/c_parse.go
+++ b/c_parse.go
@@ -62,6 +62,7 @@ func c_read_yaml_file(file string) *HostNode {
yaml_file, err := os.ReadFile(file)
if err != nil {
+ // TODO: remove all c_dies with c_err_mode
c_die("error reading file " + file, err)
}
if err = yaml.Unmarshal(yaml_file, &host); err != nil {