From 77f1d45021431dd63fc3b94429120bc2e54bc93e Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Fri, 1 Jul 2022 22:38:39 +0100 Subject: [PATCH] fix invalid ini syntax (#452) --- apps/ntf-server/Main.hs | 2 +- apps/smp-server/Main.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ntf-server/Main.hs b/apps/ntf-server/Main.hs index 20d2aa37a..cb54ca2e9 100644 --- a/apps/ntf-server/Main.hs +++ b/apps/ntf-server/Main.hs @@ -51,7 +51,7 @@ ntfServerCLIConfig = \# and restoring it when the server is started.\n\ \# Log is compacted on start (deleted objects are removed).\n\ \# The messages are not logged.\n" - <> ("enable: " <> (if enableStoreLog then "on" else "off # on") <> "\n\n") + <> ("enable: " <> (if enableStoreLog then "on" else "off") <> "\n\n") <> "[TRANSPORT]\n\ \port: " <> defaultServerPort diff --git a/apps/smp-server/Main.hs b/apps/smp-server/Main.hs index 6d8d41418..2e6661802 100644 --- a/apps/smp-server/Main.hs +++ b/apps/smp-server/Main.hs @@ -59,10 +59,10 @@ smpServerCLIConfig = \# This option enables saving memory to append only log,\n\ \# and restoring it when the server is started.\n\ \# Log is compacted on start (deleted objects are removed).\n" - <> ("enable: " <> (if enableStoreLog then "on" else "off # on") <> "\n") + <> ("enable: " <> (if enableStoreLog then "on" else "off") <> "\n") <> "# The messages are optionally saved and restored when the server restarts,\n\ \# they are deleted after restarting.\n" - <> ("restore_messages: " <> (if enableStoreLog then "on" else "off # on") <> "\n\n") + <> ("restore_messages: " <> (if enableStoreLog then "on" else "off") <> "\n\n") <> "[TRANSPORT]\n" <> ("port: " <> defaultServerPort <> "\n") <> "websockets: off\n\n"