aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_init.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_init.go b/src/c_init.go
index 5c9f115..8981099 100644
--- a/src/c_init.go
+++ b/src/c_init.go
@@ -59,6 +59,7 @@ import (
type HardOpts struct {
Icon bool
Loop bool
+ GPG string
Perc bool
Term string
}
@@ -89,7 +90,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
c_recurse_data_dir(dir + filename + "/", root, opts, ldirs,
file.Name(), &dir_node, depth + 1, ui, load_err)
} else if filepath.Ext(filename) == ".yml" {
- host_node, err := c_read_yaml_file(root + dir + filename, ui)
+ host_node, err := c_read_yaml_file(root + dir + filename, opts, ui)
if err != nil {
*load_err = append(*load_err, err)
} else if host_node != nil {