fix: Check if file exists

This commit is contained in:
Kroese
2024-05-12 20:11:08 +02:00
committed by GitHub
parent 0c28ebd4ba
commit b18c9383ff

View File

@@ -22,7 +22,7 @@ if [ -n "$URL" ]; then
if [ -s "$STORAGE/$BASE.pat" ]; then
URL="file://$STORAGE/$BASE.pat"
else
error "File $STORAGE/$BASE.pat does not exist" && exit 65
error "File $STORAGE/$BASE.pat does not exist!" && exit 65
fi
fi
fi