diff --git a/pkgs/sops-install-secrets/linux.go b/pkgs/sops-install-secrets/linux.go index f1a71a6a..778a63ea 100644 --- a/pkgs/sops-install-secrets/linux.go +++ b/pkgs/sops-install-secrets/linux.go @@ -54,8 +54,8 @@ func MountSecretFs(mountpoint string, keysGid int, useTmpfs bool, userMode bool) var fstype string = "ramfs" var fsmagic int32 = RAMFS_MAGIC if useTmpfs { - fstype = "tmpfs" - fsmagic = TMPFS_MAGIC + fstype = "tmpfs" + fsmagic = TMPFS_MAGIC } buf := unix.Statfs_t{} diff --git a/pkgs/sops-install-secrets/main.go b/pkgs/sops-install-secrets/main.go index 8406a8e4..d02c32c1 100644 --- a/pkgs/sops-install-secrets/main.go +++ b/pkgs/sops-install-secrets/main.go @@ -54,7 +54,7 @@ type manifest struct { GnupgHome string `json:"gnupgHome"` AgeKeyFile string `json:"ageKeyFile"` AgeSshKeyPaths []string `json:"ageSshKeyPaths"` - UseTmpfs bool `json:"useTmpfs"` + UseTmpfs bool `json:"useTmpfs"` UserMode bool `json:"userMode"` Logging loggingConfig `json:"logging"` }