forked from kiss-community/kiss
kiss-help: Fallback to 404
This commit is contained in:
parent
8461307370
commit
2f9e4ce2f2
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user