[lib] Fix notify_err failing when there is no error to show

This commit is contained in:
lara 2020-12-31 16:05:08 +01:00
parent 7e7040ae2a
commit 3206e2886f

View file

@ -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() {