mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 14:35:25 +08:00
More review fixups
This commit is contained in:
parent
8b4048123e
commit
7f38c98162
3 changed files with 6 additions and 8 deletions
|
|
@ -933,7 +933,7 @@ func installSecrets(args []string) error {
|
|||
|
||||
if manifest.UserMode {
|
||||
rundir, ok := os.LookupEnv("XDG_RUNTIME_DIR")
|
||||
if !ok {
|
||||
if opts.checkMode == Off && !ok {
|
||||
return fmt.Errorf("$XDG_RUNTIME_DIR is not set!")
|
||||
}
|
||||
manifest.SecretsMountPoint = replaceRuntimeDir(manifest.SecretsMountPoint, rundir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue