[eos-bash-shared] fixed eos_notification() for --expire-time value

This commit is contained in:
manuel
2026-07-19 18:08:08 +03:00
parent 2b356a7d46
commit 98813930b3
+4 -1
View File
@@ -288,7 +288,10 @@ eos_workaround_fix_critical_urgency() {
# value 0 for --expire-time does not work, any other value works (?)
# or don't use --expire-time at all.
[ "$urgency" = critical ] || cmd+=(--expire-time="'$expiretime'")
case "$urgency" in
critical) ;;
*) cmd+=(--expire-time="$expiretime") ;;
esac
}
eos_notification() { # sending notification to the current user