From: Christian Heller Date: Wed, 26 May 2021 17:16:19 +0000 (+0200) Subject: Fix plomlombot daemon wrongly reading additional options as single string. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/todo?a=commitdiff_plain;h=87be8c7e96b8dfa3b009c33fb87d1b49d8a7be61;p=config Fix plomlombot daemon wrongly reading additional options as single string. --- diff --git a/buster/other_files/plomlombot_daemon.sh b/buster/other_files/plomlombot_daemon.sh index 276c602..a9285bf 100755 --- a/buster/other_files/plomlombot_daemon.sh +++ b/buster/other_files/plomlombot_daemon.sh @@ -33,7 +33,7 @@ while true; do 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)