1
0
Fork 0
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:
Shyim 2023-08-17 08:22:42 +02:00 committed by Jörg Thalheim
parent fce0c8ce93
commit 1b7b3a32d6

View file

@ -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)
}