summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/calendar/calvr
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-01-29 22:58:54 -0600
committerepoch <epoch@hacking.allowed.org>2020-01-29 22:58:54 -0600
commit35443ee6097f86e174fe089ac3165e0071d7079d (patch)
tree1b7c77c102eabaab04d5b46e3c818c7d8cc277e1 /share/hackvr/examples/calendar/calvr
parent8a25bfb909880ac69cbc0dbba4879f31637b87e4 (diff)
downloadhackvr-35443ee6097f86e174fe089ac3165e0071d7079d.tar.gz
hackvr-35443ee6097f86e174fe089ac3165e0071d7079d.zip
lol. got the empty check backwards
Diffstat (limited to 'share/hackvr/examples/calendar/calvr')
-rwxr-xr-xshare/hackvr/examples/calendar/calvr2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hackvr/examples/calendar/calvr b/share/hackvr/examples/calendar/calvr
index ecb717a..bd0bf17 100755
--- a/share/hackvr/examples/calendar/calvr
+++ b/share/hackvr/examples/calendar/calvr
@@ -100,7 +100,7 @@ stdbuf -oL grep -v '^#' | while true;do
derp=notexists
fi
x-terminal-emulator -e nano "${file}"
- if [ -s "${file}" ];then
+ if [ ! -s "${file}" ];then
rm "${file}"
fi
if [ -e "${file}" ];then