From 3206e2886f765fe6adc2d9a99e819d2ee6f600f2 Mon Sep 17 00:00:00 2001 From: lara Date: Thu, 31 Dec 2020 16:05:08 +0100 Subject: [PATCH] [lib] Fix notify_err failing when there is no error to show --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index 60ca9c2..3da2306 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -7,7 +7,7 @@ die() { # Output error to stderr and to graphical notification notify_err() { - tee /dev/fd/2 | xargs -n1 -d "\n" notify-send + tee /dev/fd/2 | xargs -r -n1 -d "\n" notify-send } assert_exists() {