summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck1
-rw-r--r--src/chunkmeta.rs5
2 files changed, 5 insertions, 1 deletions
diff --git a/check b/check
index 65514cc..27bef0d 100755
--- a/check
+++ b/check
@@ -12,6 +12,7 @@ then
verbose | -v | --verbose)
quiet=
hideok=
+ shift
;;
esac
fi
diff --git a/src/chunkmeta.rs b/src/chunkmeta.rs
index 37e2ed5..fc5ffff 100644
--- a/src/chunkmeta.rs
+++ b/src/chunkmeta.rs
@@ -67,7 +67,10 @@ impl ChunkMeta {
/// Is this a generation chunk?
pub fn is_generation(&self) -> bool {
- matches!(self.generation, Some(true))
+ match self.generation {
+ Some(true) => true,
+ _ => false,
+ }
}
/// When did this generation end?