chiark / gitweb /
Add AllowIsolate=yes to snapshots
[elogind.git] / src / core / snapshot.c
index 5c2a319cb6a6c6aa98de790d19c94a8ba1dd5993..a3f5e908ebcf9346a7a173a187ffe7e3fa0cce48 100644 (file)
@@ -256,6 +256,7 @@ int snapshot_create(Manager *m, const char *name, bool cleanup, DBusError *e, Sn
         }
 
         SNAPSHOT(u)->cleanup = cleanup;
         }
 
         SNAPSHOT(u)->cleanup = cleanup;
+        u->allow_isolate = true;
         *_s = SNAPSHOT(u);
 
         return 0;
         *_s = SNAPSHOT(u);
 
         return 0;