execute: the runtime directory can only be on tmpfs, hence don't use rm_rf_dangerous() needlessly

This commit is contained in:
Lennart Poettering
2014-12-19 02:07:42 +01:00
parent b7d1319393
commit 24167f3db8
+1 -1
View File
@@ -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;