fix: confusing find error

Fixes #2
This commit is contained in:
2023-11-16 20:04:58 +01:00
parent 62008a66ff
commit 78161ccb22

2
agenda
View File

@@ -360,6 +360,8 @@ __agenda_default_template() {
__agenda_last() {
local file=$1 name=$2
[ -d "$AGENDA_DIR/$name" ] || return 0
local last
while read -r REPLY; do
if [ "$REPLY" = "$file" ]; then