mirror of
https://github.com/endeavouros-team/eos-bash-shared.git
synced 2026-07-29 05:55:23 +00:00
[eos-bash-shared] fixed eos_notification() for --expire-time value
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user