]> git.plutz.net Git - shellwiki/blob - macros/errormessage
Merge commit '1f887be68c8e777cdaa6853eb942f7b691bc1e4e'
[shellwiki] / macros / errormessage
1 #!/bin/sh
2
3 . "$_EXEC/cgilite/cgilite.sh"
4
5 if [ "$1" -o "$ERROR_MSG" ]; then
6   printf '<p .error>%s</p>' "$(HTML "${1:-${ERROR_MSG}}")"
7 fi