Skip to content

Commit

Permalink
fix: add missing argument for MountSecretFs on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored and Mic92 committed Aug 22, 2023
1 parent 429007f commit fce0c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/sops-install-secrets/darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fce0c8c

Please sign in to comment.