diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-02 08:01:00 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-02 11:10:35 -0400 |
commit | 4d5dec2389d8e6ce78b45d3058220888f4a93db7 (patch) | |
tree | 2daa47ef3e9ac18f04b2cd8557942cdfe6949b91 /src/core | |
parent | 718880ba0d557a045e2f969e141cbd59e78c76f4 (diff) |
Rename user_runtime to user_runtime_dir
This makes this function name similar to user_config_home() and makes
it match the name of the environment variable.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index 8a7df01284..399d202738 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -3083,7 +3083,7 @@ static int unit_drop_in_dir(Unit *u, UnitSetPropertiesMode mode, bool transient, if (mode == UNIT_PERSISTENT && !transient) r = user_config_home(dir); else - r = user_runtime(dir); + r = user_runtime_dir(dir); if (r == 0) return -ENOENT; @@ -3232,7 +3232,7 @@ int unit_make_transient(Unit *u) { if (u->manager->running_as == SYSTEMD_USER) { _cleanup_free_ char *c = NULL; - r = user_runtime(&c); + r = user_runtime_dir(&c); if (r < 0) return r; if (r == 0) |