removed leading /etc for key location

Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
Christian Goll
2022-01-19 15:13:41 +01:00
parent 29c628cb79
commit 22f56a8665

View File

@@ -20,7 +20,7 @@ func Configure(show bool) error {
if os.Getuid() == 0 {
fmt.Printf("Updating system keys\n")
wwkeydir := path.Join(buildconfig.SYSCONFDIR(), "/etc/warewulf/keys") + "/"
wwkeydir := path.Join(buildconfig.SYSCONFDIR(), "warewulf/keys") + "/"
err := os.MkdirAll(path.Join(buildconfig.SYSCONFDIR(), "warewulf/keys"), 0755)
if err != nil {