mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-05 16:17:47 +00:00
fix: add missing argument for MountSecretFs on darwin
This commit is contained in:
parent
429007f7f3
commit
fce0c8ce93
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, 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…
Add table
Reference in a new issue