summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-26 17:58:37 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:31 +0200
commit193dc81ee336ad07b92e7e945b458eb24f615f55 (patch)
treecdac192db885482a53cd4ce40e172875d35a0b5c /src
parentd7e0da1db2ac9e747893ef5f565c554eb246e3f4 (diff)
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...
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index f6c9891aad..ac29353299 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -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);