aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_init.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-16 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-16 20:20:20 +0200
commitc545dd21171200889053694804eae6ca839379a2 (patch)
tree9295f4df134839a2a7a468a994a8b096b6dc89d0 /src/c_init.go
parentv0.7 (diff)
downloadhardflip-c545dd21171200889053694804eae6ca839379a2.tar.gz
hardflip-c545dd21171200889053694804eae6ca839379a2.tar.bz2
hardflip-c545dd21171200889053694804eae6ca839379a2.tar.xz
hardflip-c545dd21171200889053694804eae6ca839379a2.tar.zst
hardflip-c545dd21171200889053694804eae6ca839379a2.zip
prompt ssh ok
Diffstat (limited to '')
-rw-r--r--src/c_init.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c_init.go b/src/c_init.go
index a24e3d4..3faca8e 100644
--- a/src/c_init.go
+++ b/src/c_init.go
@@ -64,6 +64,7 @@ type HardOpts struct {
GPG string `yaml:"gpg"`
Perc bool `yaml:"percent"`
Term string `yaml:"terminal"`
+ DefSSH string `yaml:"default_ssh_priv"`
file string
}
@@ -86,7 +87,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
nil,
}
ldirs.add_back(&dir_node)
- i_draw_load_ui(ui, opts)
+ i_draw_load_ui(ui)
for _, file := range files {
filename := file.Name()
if file.IsDir() == true {
@@ -104,7 +105,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
}
dir_node.lhost.add_back(host_node)
}
- i_draw_load_ui(ui, opts)
+ i_draw_load_ui(ui)
}
}
}