vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit bef6991e6d982f49026793dbd5b26f16a15b67c2
parent 426a76a36e8a3aa8521e6defe03712844aa06992
Author: Cem Keylan <warc1998@gmail.com>
Date:   Fri,  7 Jun 2019 10:34:12 +0300

Do not send notification when there is an error

Diffstat:
Mbin/calsync | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/calsync b/bin/calsync @@ -4,5 +4,5 @@ OP=$(calcurse-caldav 2>/dev/null) TEST=$'0 items imported, 0 items removed locally.\n0 items exported, 0 items removed from the server.' if [ "$OP" != $"$TEST" ] then - notify-send "Calendar Sync" "$OP" + [ -z $OP ] || notify-send "Calendar Sync" "$OP" fi