diff options
author | epoch <epoch@hacking.allowed.org> | 2020-01-29 22:58:54 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-01-29 22:58:54 -0600 |
commit | 35443ee6097f86e174fe089ac3165e0071d7079d (patch) | |
tree | 1b7c77c102eabaab04d5b46e3c818c7d8cc277e1 /share | |
parent | 8a25bfb909880ac69cbc0dbba4879f31637b87e4 (diff) | |
download | hackvr-35443ee6097f86e174fe089ac3165e0071d7079d.tar.gz hackvr-35443ee6097f86e174fe089ac3165e0071d7079d.zip |
lol. got the empty check backwards
Diffstat (limited to 'share')
-rwxr-xr-x | share/hackvr/examples/calendar/calvr | 2 |
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 |