summaryrefslogtreecommitdiff
path: root/src/snapshot.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-01 03:39:55 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-01 03:39:55 +0200
commit6ec1117a7416a999d588abf68a599b8bfd965ccd (patch)
tree3b89e386de31f775419a56ae415412fd6d1b190d /src/snapshot.h
parent032ff4afc953cae076ce0ee6a0b85020eeb1a75a (diff)
snapshot: ensure that snapshots cannot be created unless with create_snapshot
Diffstat (limited to 'src/snapshot.h')
-rw-r--r--src/snapshot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/snapshot.h b/src/snapshot.h
index 959a5090ec..2561790639 100644
--- a/src/snapshot.h
+++ b/src/snapshot.h
@@ -39,6 +39,7 @@ struct Snapshot {
SnapshotState state, deserialized_state;
bool cleanup;
+ bool by_snapshot_create:1;
};
extern const UnitVTable snapshot_vtable;