mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
Update pkgs/sops-install-secrets/darwin.go
Co-authored-by: Leo Pang <34628052+allthatjazzleo@users.noreply.github.com>
This commit is contained in:
parent
fce0c8ce93
commit
1b7b3a32d6
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ func SecureSymlinkChown(symlinkToCheck string, expectedTarget string, owner, gro
|
|||
// mydev=`hdiutil attach -nomount ram://$NUMSECTORS`
|
||||
// newfs_hfs $mydev
|
||||
// mount -t hfs $mydev /tmp/mymount
|
||||
func MountSecretFs(mountpoint string, keysGid int, useTmpfs bool, userMode bool) error {
|
||||
func MountSecretFs(mountpoint string, keysGid int, _useTmpfs bool, userMode bool) error {
|
||||
if err := os.MkdirAll(mountpoint, 0751); err != nil {
|
||||
return fmt.Errorf("Cannot create directory '%s': %w", mountpoint, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue