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