diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-10 04:51:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-10 04:51:03 +0200 |
commit | 82c64bf578623f0678b4de1ac08c6bd8e5d95662 (patch) | |
tree | 97306aeb4ecfb2b1fa7e3523d91bf2d879c3dd40 /src/snapshot.c | |
parent | 1e001f52d20a4685c9e8cf3cfa690021ca05c9e7 (diff) |
snapshot: fix deserialization
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 fe8a43dd3a..11e7c3e28d 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) + if (!s->by_snapshot_create && !s->meta.manager->deserializing) return -ENOENT; u->meta.load_state = UNIT_LOADED; |