mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
firstboot: remove /etc/localtime on --reset
The --reset option is supposed to remove all files configured by firstboot, but currently it does not remove /etc/localtime.
This commit is contained in:
parent
a6f1551fe7
commit
cd3207491d
@ -1208,7 +1208,8 @@ static int process_reset(int rfd) {
|
||||
"/etc/vconsole.conf",
|
||||
"/etc/hostname",
|
||||
"/etc/machine-id",
|
||||
"/etc/kernel/cmdline") {
|
||||
"/etc/kernel/cmdline",
|
||||
"/etc/localtime") {
|
||||
r = reset_one(rfd, p);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user