mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
In POSIX sh, OSTYPE is undefined. ejabberd doesn't work natively in win anyway
This commit is contained in:
parent
f88aa49913
commit
1b22368f6b
@ -128,14 +128,6 @@ exec_iex()
|
|||||||
# usage
|
# usage
|
||||||
debugwarning()
|
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
|
if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
|
||||||
echo "--------------------------------------------------------------------"
|
echo "--------------------------------------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user