Page 1 of 1

ums.conf changing, adding "\\" backslashes

Posted: Wed Mar 03, 2021 9:32 am
by DrStein99
Each time I "service ums restart", the ums.conf IS CHANGED. Below is one (of many) examples for the fields that are being changed.

Original:
language = "en-US"

Change after restart service:
language = \\\\\\\\\\\\\"en-US\\\\\\\\\\\\\"

Can anyone advise? What function re-writes the ums.conf file, and why is it adding lots of backslashes to many fields?

Re: ums.conf changing, adding "\\" backslashes

Posted: Wed Mar 03, 2021 10:08 am
by Nadahar
UMS can and will overwrite the configuration file whenever it feels like it, so you should always stop UMS before editing the file.

I can't explain the exact bug you're experiencing except to say that neither quotes (') nor double quotes (") are recognized by UMS. As such, you should use

Code: Select all

language = en-US
..because UMS will take it literary and look for the language "en-US", including the double-quotes, which it won't find.

Re: ums.conf changing, adding "\\" backslashes

Posted: Thu Mar 04, 2021 5:45 am
by DrStein99
Thank you for advise. I have been updating the .conf file during service enabled. I will edit this when service is stopped.

Are NO quotation marks EVER used - or just on that field?

Re: ums.conf changing, adding "\\" backslashes

Posted: Thu Mar 04, 2021 5:55 am
by Nadahar
Quotation marks doesn't have a "special meaning", so they are taken literary in all of UMS' configuration files.