diff --git a/tools/utils.sh b/tools/utils.sh index a9ca54a46..665dfdccf 100644 --- a/tools/utils.sh +++ b/tools/utils.sh @@ -122,3 +122,14 @@ remove_install_status() { rm -f "${SCODOC_INSTALL_STATUS_FILE}" fi } + +# +alarm_admin() { + echo "Error: alarm_admin $1" + echo "Sending email to admin..." + echo "Subject: ScoDoc: $1" | mail -s "ScoDoc: $1" root <