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

defaults: don't output Dock PID

This commit is contained in:
Michael Hoang 2024-10-09 21:57:33 +11:00
parent 48b50b3b13
commit d32e6de094

View file

@ -113,7 +113,7 @@ in
${optionalString (length dock > 0) ''
# Only restart Dock if current user is logged in
if pgrep -xu $UID Dock; then
if pgrep -xu $UID Dock >/dev/null; then
echo >&2 "restarting Dock..."
killall Dock || true
fi