In POSIX sh, OSTYPE is undefined. ejabberd doesn't work natively in win anyway

This commit is contained in:
Badlop 2021-12-21 18:03:45 +01:00
parent f88aa49913
commit 1b22368f6b
1 changed files with 0 additions and 8 deletions

View File

@ -128,14 +128,6 @@ exec_iex()
# usage
debugwarning()
{
if [ "$OSTYPE" != "cygwin" ] && [ "$OSTYPE" != "win32" ] ; then
if [ "a$TERM" = "a" ] || [ "$TERM" = "dumb" ] ; then
echo "Terminal type not supported."
echo "You may have to set the TERM environment variable to fix this."
exit 8
fi
fi
if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
echo "--------------------------------------------------------------------"
echo ""