From 35443ee6097f86e174fe089ac3165e0071d7079d Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 29 Jan 2020 22:58:54 -0600 Subject: lol. got the empty check backwards --- share/hackvr/examples/calendar/calvr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3