From 890df6378aa59373c8e043d981a53f10d1e0c167 Mon Sep 17 00:00:00 2001 From: Fehlersturm Date: Fri, 3 Jan 2014 16:58:40 +0100 Subject: [PATCH] Update bot.sh reset IFS after script execution --- src/app/bot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/bot.sh b/src/app/bot.sh index 91e9d92..1305387 100755 --- a/src/app/bot.sh +++ b/src/app/bot.sh @@ -5,6 +5,7 @@ JID=xmpp@delta64.com PASS_FILE="$(dirname $0)/pass" nl=$'\n' +ofs=$IFS IFS="$nl" # start xmpp @@ -50,3 +51,4 @@ done trap "$XMPP --disconnect" EXIT +IFS=$ofs