mirror of
https://github.com/systemd/systemd
synced 2024-10-04 23:31:09 +00:00
core: don't reorder drop-ins when changing properties
The drop-in order we present should actually show what we is in effect, hence let's not reorder it when writing changes. After all, just sorting alphabetically is going to break things, as it doesn't respect that /etc breaks /run breaks /usr...
This commit is contained in:
parent
d7e0da1db2
commit
193dc81ee3
|
@ -3365,7 +3365,6 @@ int unit_write_drop_in(Unit *u, UnitSetPropertiesMode mode, const char *name, co
|
|||
if (r < 0)
|
||||
return r;
|
||||
|
||||
strv_sort(u->dropin_paths);
|
||||
strv_uniq(u->dropin_paths);
|
||||
|
||||
u->dropin_mtime = now(CLOCK_REALTIME);
|
||||
|
|
Loading…
Reference in a new issue