[PR #10128/626ee311 backport][stable-10] kdeconfig: mark end of options before sending value (#10148)

kdeconfig: mark end of options before sending value (#10128)

* mark end of options before sending value

* fix linting issue

* fragment update

(cherry picked from commit 626ee3115d)

Co-authored-by: Bob Mroczka <bob@mroczka.com>
This commit is contained in:
patchback[bot] 2025-05-17 08:24:18 +02:00 committed by GitHub
parent 9d245287b2
commit f238b90fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -141,7 +141,7 @@ def run_kwriteconfig(module, cmd, path, groups, key, value):
else:
args.append('false')
else:
args.append(value)
args.extend(['--', value])
module.run_command(args, check_rc=True)