summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-19 01:31:27 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-19 02:07:42 +0100
commit24167f3db842238e4e9115db36eff947be46da5f (patch)
tree58449489bf7b262a29aa180745d7a2502852f189 /src
parentb7d131939347fee0f1af7a288052a3dffb5a6763 (diff)
execute: the runtime directory can only be on tmpfs, hence don't use rm_rf_dangerous() needlessly
Diffstat (limited to 'src')
-rw-r--r--src/core/execute.c2
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;