summaryrefslogtreecommitdiff
path: root/ejabberdctl.template
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-12-21 18:03:45 +0100
committerBadlop <badlop@process-one.net>2021-12-23 13:56:56 +0100
commit1b22368f6b579ce1502fb24a36a556b0633fa445 (patch)
treeea5d573b77bc7c696b2b1b32c362fe93c6dc16f8 /ejabberdctl.template
parentGive hint about what ejabberd.cfg.example sourcing (diff)
In POSIX sh, OSTYPE is undefined. ejabberd doesn't work natively in win anyway
Diffstat (limited to '')
-rwxr-xr-xejabberdctl.template8
1 files changed, 0 insertions, 8 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 4cab1997..730bfcae 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 ""