summaryrefslogtreecommitdiffstats
path: root/articles.c
diff options
context:
space:
mode:
Diffstat (limited to 'articles.c')
-rw-r--r--articles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/articles.c b/articles.c
index 08f115a..3358b47 100644
--- a/articles.c
+++ b/articles.c
@@ -164,6 +164,10 @@ int bbs_article_list( term_screen *ts, const char *dir_name )
ERROR("Cannot open article directory\n");
}
ret = 0;
+ } else
+ {
+ ERROR("No directory specified\n");
+ return ret;
}