From 2be05de06ed8e634c839ad58ffb895d5bed98c0a Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 24 Oct 2024 12:44:45 +1100 Subject: [PATCH] users: add missing newlines for FDA prompt --- modules/users/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/users/default.nix b/modules/users/default.nix index e8a030b4..1d7127aa 100644 --- a/modules/users/default.nix +++ b/modules/users/default.nix @@ -166,8 +166,8 @@ in if [[ "$fullDiskAccess" != true ]]; then printf >&2 '\e[1;31merror: users cannot be deleted without Full Disk Access, aborting activation\e[0m\n' - printf >&2 'The user %s could not be deleted as `darwin-rebuild` was not executed with Full Disk Access.' "$1" - + printf >&2 'The user %s could not be deleted as `darwin-rebuild` was not executed with Full Disk Access.\n' "$1" + printf >&2 '\n' printf >&2 'Opening "Privacy & Security" > "Full Disk Access" in System Settings\n' printf >&2 '\n' # This command will fail if run as root and System Settings is already running