mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 01:30:48 +03:00
Silence output
This commit is contained in:
parent
351e874918
commit
4532604741
1 changed files with 1 additions and 1 deletions
|
@ -22,9 +22,9 @@ with lib; let
|
||||||
mountCommand =
|
mountCommand =
|
||||||
if isDarwin
|
if isDarwin
|
||||||
then ''
|
then ''
|
||||||
if ! diskutil info "${cfg.secretsMountPoint}"; then
|
|
||||||
dev="$(hdiutil attach -nomount ram://1048576 | awk '{print $1}')"
|
dev="$(hdiutil attach -nomount ram://1048576 | awk '{print $1}')"
|
||||||
newfs_hfs "$dev"
|
newfs_hfs "$dev"
|
||||||
|
if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then
|
||||||
mount -t hfs -o nobrowse,nodev,nosuid,-m=0751 "$dev" "${cfg.secretsMountPoint}"
|
mount -t hfs -o nobrowse,nodev,nosuid,-m=0751 "$dev" "${cfg.secretsMountPoint}"
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue