Skip to content

Commit

Permalink
defaults: don't output Dock PID
Browse files Browse the repository at this point in the history
  • Loading branch information
Enzime committed Oct 9, 2024
1 parent 48b50b3 commit d32e6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/defaults-write.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d32e6de

Please sign in to comment.