diff --git a/dunstctl b/dunstctl index fa824bc..c8f3b60 100755 --- a/dunstctl +++ b/dunstctl @@ -63,7 +63,7 @@ case "${1:-}" in "status-set") [ "${2:-}" ] \ || die "No status parameter specified. Please give either 'true' or 'false' as running parameter." - [ "${2}" == "true" ] || [ "${2}" == "false" ] \ + [ "${2}" = "true" ] || [ "${2}" = "false" ] \ || die "Please give either 'true' or 'false' as running parameter." property_set running variant:boolean:"${2}" ;; @@ -77,7 +77,7 @@ case "${1:-}" in dbus-send --print-reply=literal --dest="${DBUS_NAME}" "${DBUS_PATH}" "${DBUS_IFAC_FDN}.GetServerInformation" \ | ( read name vendor version protocol_version - [ "${name}" == dunst ] + [ "${name}" = "dunst" ] printf "dunst version: %s\n" "${version}" ) \ || die "Another notification manager is running. It's not dunst"