kiss-help: Fallback to 404

This commit is contained in:
Dylan Araps 2020-06-13 00:25:03 +03:00
parent 8461307370
commit 2f9e4ce2f2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ cd "$KISS_ROOT/usr/share/doc/kiss" 2>/dev/null || {
[ -f "${1:-.}/index.txt" ] && file=./${1:-.}/index.txt
[ -f "${1:-.}.txt" ] && file=./${1:-.}.txt
"${PAGER:-less}" "$file"
"${PAGER:-less}" "${file:-404.txt}"