home · contact · privacy
Improve plomlombot-irc setup.
[config] / all_new_2018 / user_scripts / plomlombot_daemon.sh
index b7d07093f138ee82e8802ce432776ba011f50b7c..dcac4f677c453f0f665a4e8ae66a001b88857270 100755 (executable)
@@ -35,7 +35,7 @@ while true; do
                 if [ "${first_char}" = "#" ]; then
                     shortened_channel_name=$(echo -n "${channel_name}" | cut -c2-)
                 fi
-               ln -sf "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
+                ln -sfn "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
 
            # If "key:" line, encrypt old raw logs to that GPG key.
            elif [ "${first_word}" = "gpg_key": ]; then