aboutsummaryrefslogtreecommitdiff
path: root/src/clients/qualudis/qualudis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/qualudis/qualudis.cc')
-rw-r--r--src/clients/qualudis/qualudis.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 77ff5f222..7ea5909f4 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -137,8 +137,11 @@ namespace
void visit(const MetadataRepositoryMaskInfoKey & k)
{
- stream << k.raw_name() << ": " << k.value()->mask_file << ": "
- << join(k.value()->comment->begin(), k.value()->comment->end(), " ");
+ if (k.value())
+ stream << k.raw_name() << ": " << k.value()->mask_file << ": "
+ << join(k.value()->comment->begin(), k.value()->comment->end(), " ");
+ else
+ stream << k.raw_name();
}
void visit(const MetadataContentsKey &)