diff --git a/pb b/pb index 355c89f..ee77207 100755 --- a/pb +++ b/pb @@ -45,7 +45,7 @@ die () { code=1 fi # output message to stdout or stderr based on code - if [ ! -z "${msg}" ]; then + if [ -n "${msg}" ]; then if [ "${code}" -eq 0 ]; then printf "%s\\n" "${msg}" else