1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Merge pull request #781 from montchr/359-hide-upstream-timezone-error-output

time: bury confusing `systemsetup -settimezone` output
This commit is contained in:
Michael Hoang 2023-09-15 22:38:38 +02:00 committed by GitHub
commit 80bb201f49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ let
echo "${cfg.timeZone} is not a valid timezone. The command 'listtimezones' will show a list of valid time zones." >&2
false
fi
systemsetup -settimezone "${cfg.timeZone}" > /dev/null
systemsetup -settimezone "${cfg.timeZone}" 2>/dev/null 1>&2
'';
in