summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2007-08-28 13:30:00 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-08-28 13:30:00 (GMT)
commit860ec4960ff61cf3b2e98e0d020e7f8a93a56008 (patch) (side-by-side diff)
tree468b96d07fb2bb9369f9f1bf4005ab586e29f5d9
parent9f6c44ee0b1f19860351c76d52813319b3029e44 (diff)
downloadalck-860ec4960ff61cf3b2e98e0d020e7f8a93a56008.tar.gz
alck-860ec4960ff61cf3b2e98e0d020e7f8a93a56008.tar.bz2
Minor fix
git-svn-id: file:///svnroot/gsc/trunk@296 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (more/less context) (show whitespace changes)
-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.