]> git.plutz.net Git - shellwiki/blob - macros/errormessage
Merge commit '121b533c5aaf642cb9e4f887861ab511031362ef'
[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