aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eclat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclat.c b/src/eclat.c
index 5df504e..ee44053 100644
--- a/src/eclat.c
+++ b/src/eclat.c
@@ -496,3 +496,3 @@ print_matching_commands(const char *pat)
printf("%s\n", cp->name);
- if (ident_matches(cp->ident, pat) != NO_MATCH)
+ if (cp->ident && ident_matches(cp->ident, pat) != NO_MATCH)
printf("%s\n", cp->ident);

Return to:

Send suggestions and report system problems to the System administrator.