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) ''
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue