From 91e17be5f5fd1f71e36141012c7596858ccb703f Mon Sep 17 00:00:00 2001 From: zawz Date: Wed, 28 Oct 2020 20:12:37 +0100 Subject: [PATCH] znotif: fix message --- znotif/znotif | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/znotif/znotif b/znotif/znotif index 7545b93..54657c6 100755 --- a/znotif/znotif +++ b/znotif/znotif @@ -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