From 55100918ccb1fa703144005ac3b310f36c40dc5c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 14 Jan 2019 00:04:50 +0100 Subject: [PATCH] dunst: avoid error on missing dunst process --- modules/services/dunst.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/dunst.nix b/modules/services/dunst.nix index 0a5daf381..96b1f71a2 100644 --- a/modules/services/dunst.nix +++ b/modules/services/dunst.nix @@ -162,7 +162,7 @@ in if [[ -v VERBOSE ]]; then pkillVerbose="-e" fi - $DRY_RUN_CMD ${pkgs.procps}/bin/pkill -u $USER $pkillVerbose dunst + $DRY_RUN_CMD ${pkgs.procps}/bin/pkill -u $USER $pkillVerbose dunst || true unset pkillVerbose ''; };