A workaround for toxic client buggyness
This commit is contained in:
parent
d89b387635
commit
f37f57e2fe
|
@ -152,7 +152,9 @@ if [ ! -f $MUMBLE_PATH ]; then
|
|||
if [ ${#PEER_TOX_ID} -gt 30 ]; then
|
||||
echo "/nick $USER
|
||||
/add $PEER_TOX_ID
|
||||
/exit
|
||||
" | $TOXIC_PATH -d
|
||||
$TOXIC_PATH -d
|
||||
exit 0
|
||||
else
|
||||
echo $PEER_TOX_ID
|
||||
|
@ -213,7 +215,9 @@ else
|
|||
if [ ${#PEER_TOX_ID} -gt 30 ]; then
|
||||
echo "/nick $USER
|
||||
/add $PEER_TOX_ID
|
||||
/exit
|
||||
" | $TOXIC_PATH -d
|
||||
$TOXIC_PATH -d
|
||||
else
|
||||
echo "Tox ID for $AVAHI_DOMAIN was not found"
|
||||
exit 6
|
||||
|
|
Loading…
Reference in New Issue