From 1b22368f6b579ce1502fb24a36a556b0633fa445 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 21 Dec 2021 18:03:45 +0100 Subject: [PATCH] In POSIX sh, OSTYPE is undefined. ejabberd doesn't work natively in win anyway --- ejabberdctl.template | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ejabberdctl.template b/ejabberdctl.template index 4cab19977..730bfcae9 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -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 ""