Browse Source

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

master
lara 3 years ago
parent
commit
3206e2886f
  1. 2
      lib/utils.sh

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

Loading…
Cancel
Save