home · contact · privacy
Fix plomlombot daemon wrongly reading additional options as single string.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 26 May 2021 17:16:19 +0000 (19:16 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 26 May 2021 17:16:19 +0000 (19:16 +0200)
buster/other_files/plomlombot_daemon.sh

index 276c6021da9561874fcab0b50ac691fb4569ec46..a9285bf3b103453ff0424ec00cc91732fbc30a72 100755 (executable)
@@ -33,7 +33,7 @@ while true; do
                 set -e
                 if [ "${start_screen}" -eq "1" ]; then
                     cd ~/plomlombot-irc
                 set -e
                 if [ "${start_screen}" -eq "1" ]; then
                     cd ~/plomlombot-irc
-                    LANG="en_US.UTF-8" screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -s "${server_name}" -c "${channel_name}" "${add_option}"
+                    LANG="en_US.UTF-8" screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -s "${server_name}" -c "${channel_name}" ${add_option}
                 fi
                 md5_server=$(echo -n "${server_name}" | md5sum | cut -d' ' -f1)
                 md5_channel=$(echo -n "${channel_name}" | md5sum | cut -d' ' -f1)
                 fi
                 md5_server=$(echo -n "${server_name}" | md5sum | cut -d' ' -f1)
                 md5_channel=$(echo -n "${channel_name}" | md5sum | cut -d' ' -f1)