hostnamectl: try to set transient hostname even if updating static or pretty hostname...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Jan 2021 02:20:50 +0000 (11:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Feb 2021 04:49:15 +0000 (13:49 +0900)
commit2d79e90a1fb5cff8a94a936196533e4450e155a6
tree51699733fdb4ace535f061fee93090ea50765352
parent957991b7acec20ccf2c21f0162e9da54ea22d2dd
hostnamectl: try to set transient hostname even if updating static or pretty hostname failed

If no target (--pretty, --static, or --transient) is specified, then
let's try to set transient hostname even if setting static or pretty
hostname failed. This may be useful for read-only filesystem.
src/hostname/hostnamectl.c