mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
ejabberdctl: Avoid bashisms
Don't let the ejabberdctl script depend on non-POSIX syntax. (Also, fix a typo and avoid tabs.)
This commit is contained in:
parent
b9926c6796
commit
65260e2449
@ -131,9 +131,9 @@ exec_iex()
|
||||
debugwarning()
|
||||
{
|
||||
if [ "$OSTYPE" != "cygwin" ] && [ "$OSTYPE" != "win32" ] ; then
|
||||
if [ "a$TERM" == "a" ] || [ "$TERM" == "dumb" ] ; then
|
||||
if [ "a$TERM" = "a" ] || [ "$TERM" = "dumb" ] ; then
|
||||
echo "Terminal type not supported."
|
||||
echo "You may have to set the TERM environnement variable to fix this."
|
||||
echo "You may have to set the TERM environment variable to fix this."
|
||||
exit 8
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user