Only run jrnl when there is a journal

This commit is contained in:
xeruf 2021-09-21 17:44:54 +02:00
parent 1bbcd1efc9
commit d732f16ec9
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export CTEST_PARALLEL_LEVEL=3
export JOURNAL="$DATA/2-standards/notes/journal" export JOURNAL="$DATA/2-standards/notes/journal"
if test -z "${DISPLAY}" && test "${XDG_VTNR}" -eq 1 ; then if test -z "${DISPLAY}" && test "$XDG_VTNR" -eq 1 && test -d "$JOURNAL"; then
echo "What do you want to do?" echo "What do you want to do?"
while test $(echo "$intention" | wc -c) -lt 6 while test $(echo "$intention" | wc -c) -lt 6
do read intention do read intention