summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/calendar/calvr
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/calendar/calvr')
-rwxr-xr-xshare/hackvr/examples/calendar/calvr4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hackvr/examples/calendar/calvr b/share/hackvr/examples/calendar/calvr
index aa95388..74074cb 100755
--- a/share/hackvr/examples/calendar/calvr
+++ b/share/hackvr/examples/calendar/calvr
@@ -63,7 +63,9 @@ stdbuf -oL grep -v '^#' | while true;do
day="$(date +%e | tr -d ' ')"
# printf "%s move 0 0 3\n" "_${day}_"
fi
- read group action target
+ if ! read group action target;then
+ exit
+ fi
#xmessage "$group $action $target"
if [ "$action" = "action" ];then
if [ "$target" = "_nextmonth_" ];then