Skip to content

Commit

Permalink
Update pkgs/sops-install-secrets/darwin.go
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Pang <34628052+allthatjazzleo@users.noreply.github.com>
  • Loading branch information
2 people authored and Mic92 committed Aug 22, 2023
1 parent fce0c8c commit 1b7b3a3
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, 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)
}
Expand Down

0 comments on commit 1b7b3a3

Please sign in to comment.