mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #1101 from Enzime/quiet-pgrep
defaults: don't output Dock PID
This commit is contained in:
commit
ccf8cc56c9
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ in
|
||||||
|
|
||||||
${optionalString (length dock > 0) ''
|
${optionalString (length dock > 0) ''
|
||||||
# Only restart Dock if current user is logged in
|
# 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..."
|
echo >&2 "restarting Dock..."
|
||||||
killall Dock || true
|
killall Dock || true
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue