[lib] Fix notify_err failing when there is no error to show
This commit is contained in:
parent
7e7040ae2a
commit
3206e2886f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue