aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gram.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/gram.y b/gram.y
index 33f0e39..dd323be 100644
--- a/gram.y
+++ b/gram.y
@@ -213,6 +213,8 @@ main (int argc, char **argv)
read_include (&cw_list, cwfile);
file_list = NULL;
read_include (&file_list, optarg);
+ if (file_list)
+ {
for (s = file_list->head; s; s = s->next)
{
openaliases_prefix (optarg, s->str);
@@ -220,6 +222,7 @@ main (int argc, char **argv)
file_count++;
}
slist_destroy (&file_list);
+ }
break;
case 'h':

Return to:

Send suggestions and report system problems to the System administrator.