Actually, I don't know if that can happen. And even if the ID is 0, we should print it anyway, because, as I discovered when I was updating my scripts, we can then safely write
id=0
while ...; do
...
id=$(notify-send -p -r $id ...)
...
done
which is nice and simple.
Attached is v3 of the patch with the check removed.
Hi Ralph,
Actually, I don't know if that can happen. And even if the ID is 0, we should print it anyway, because, as I discovered when I was updating my scripts, we can then safely write
id=0 $(notify- send -p -r $id ...)
while ...; do
...
id=
...
done
which is nice and simple.
Attached is v3 of the patch with the check removed.