From: Paul Hänsch Date: Mon, 13 Jan 2020 18:32:36 +0000 (+0100) Subject: bugfix: 404 on non existing card X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=c035ac5cd677c1c016143901de4e6a2965829610;p=lobster bugfix: 404 on non existing card --- diff --git a/cards/export_card.sh b/cards/export_card.sh index e9356a9..def0b2d 100755 --- a/cards/export_card.sh +++ b/cards/export_card.sh @@ -24,4 +24,5 @@ if [ -f "$cardfile" ]; then . $_EXEC/cgilite/file.sh FILE "$cardfile" "text/vcard/charset=utf-8" else + printf 'Status: 404 Not Found\r\nContent-Length: 0\r\n\r\n' fi