znotif: fix message
This commit is contained in:
parent
cfcf94d1ef
commit
91e17be5f5
1 changed files with 2 additions and 2 deletions
|
|
@ -61,11 +61,11 @@ shift $((OPTIND-1))
|
|||
|
||||
# exec and resolve message
|
||||
if [ $# -gt 0 ] ; then
|
||||
[ -z "$opt_m" ] && message="'$*' finished"
|
||||
[ -z "$message" ] && message="'$*' finished"
|
||||
[ -z "$title" ] && title=$*
|
||||
"$@"
|
||||
else
|
||||
[ -z "$opt_m" ] && message="Ping"
|
||||
[ -z "$message" ] && message="Ping"
|
||||
[ -z "$title" ] && title="Ping"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue