chiark / gitweb /
execute: the runtime directory can only be on tmpfs, hence don't use rm_rf_dangerous...
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Dec 2014 00:31:27 +0000 (01:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Dec 2014 01:07:42 +0000 (02:07 +0100)
src/core/execute.c

index bc925cd..4735ab2 100644 (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;