]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: Allows the user to reset CPUAffinity= back to an empty list
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 30 Nov 2017 07:29:48 +0000 (16:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 6 Dec 2017 01:32:48 +0000 (10:32 +0900)
commit784b9a1a327c23652c945785dab6f2979c0af06c
tree02562e94ec2f377f93bb5b163fea4f30438582b2
parent501941aaf001bc069d530fa0edc1daa1cdc042d7
run: Allows the user to reset CPUAffinity= back to an empty list

Before this CPUAffinity= requires a valid cpu set, and the setting
cannot be reset. Moreover, if CPUAffinity= with empty string is passed,
then message container is closed without no values appended, thus
we get error.
This makes CPUAffinity= accepts empty string to reset the setting
and avoid error.
src/shared/bus-unit-util.c