diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-19 01:31:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-19 02:07:42 +0100 |
commit | 24167f3db842238e4e9115db36eff947be46da5f (patch) | |
tree | 58449489bf7b262a29aa180745d7a2502852f189 | |
parent | b7d131939347fee0f1af7a288052a3dffb5a6763 (diff) |
execute: the runtime directory can only be on tmpfs, hence don't use rm_rf_dangerous() needlessly
-rw-r--r-- | src/core/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index bc925cd80c..4735ab2417 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1984,7 +1984,7 @@ int exec_context_destroy_runtime_directory(ExecContext *c, const char *runtime_p /* We execute this synchronously, since we need to be * sure this is gone when we start the service * next. */ - rm_rf_dangerous(p, false, true, false); + rm_rf(p, false, true, false); } return 0; |