Properly handle khal notification exit status
This commit is contained in:
parent
6927395384
commit
4fd9bcaf75
|
@ -18,7 +18,7 @@ let
|
|||
text = ''
|
||||
date=$(date "+%H:%M:00")
|
||||
events=$(${workingKhalPkgs.khal}/bin/khal list --notstarted "$date" "$1")
|
||||
if [ -z "$events" ]; then
|
||||
if ! echo "$events" | grep -v "No events"; then
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue