diff options
Diffstat (limited to 'src/snapshot.c')
-rw-r--r-- | src/snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snapshot.c b/src/snapshot.c index 11e7c3e28d..e1583384cd 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -56,7 +56,7 @@ static int snapshot_load(Unit *u) { /* Make sure that only snapshots created via snapshot_create() * can be loaded */ - if (!s->by_snapshot_create && !s->meta.manager->deserializing) + if (!s->by_snapshot_create && s->meta.manager->n_deserializing <= 0) return -ENOENT; u->meta.load_state = UNIT_LOADED; |