Bump version number to 0.1.2.
[dss.git] / snap.c
diff --git a/snap.c b/snap.c
index 89d6004..1fab237 100644 (file)
--- a/snap.c
+++ b/snap.c
@@ -101,7 +101,7 @@ static int is_snapshot(const char *dirname, int64_t now, int unit_interval,
        free(tmp);
        if (ret < 0)
                return 0;
-       if (num > now)
+       if (num > now || num < s->creation_time)
                return 0;
        s->completion_time = num;
        s->flags = SS_COMPLETE;