ums.conf changing, adding "\\" backslashes
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
ums.conf changing, adding "\\" backslashes
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?
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
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
..because UMS will take it literary and look for the language "en-US", including the double-quotes, which it won't find.
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
Re: ums.conf changing, adding "\\" backslashes
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?
Are NO quotation marks EVER used - or just on that field?
Re: ums.conf changing, adding "\\" backslashes
Quotation marks doesn't have a "special meaning", so they are taken literary in all of UMS' configuration files.