]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: use parse_boolean_argument() for variables with non-boolean type
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 15 Feb 2021 18:41:39 +0000 (19:41 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Feb 2021 20:08:47 +0000 (21:08 +0100)
commitc3470872c6c12d64c895643bd3b02022beb0589e
treebb46f589f8e8dd983e57b233e5736595b65ef169
parent599c7c545f689f7d19a73238eecc69bf94fa6a74
tree-wide: use parse_boolean_argument() for variables with non-boolean type

This still works nicely, but we need to assign the return value ourselves.
As before, one nice effect is that error messages are uniform.
src/delta/delta.c
src/mount/mount-tool.c
src/partition/repart.c
src/resolve/resolvectl.c
src/shared/parse-argument.c
src/userdb/userdbctl.c