aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/news.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/news.c')
-rw-r--r--src/cmd/news.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/news.c b/src/cmd/news.c
index c6a99a30..bdffaa39 100644
--- a/src/cmd/news.c
+++ b/src/cmd/news.c
@@ -101,7 +101,7 @@ read_dir(int update)
n_count = 0;
n_list = malloc(NINC*sizeof(File));
na = NINC;
- home = getenv("home");
+ home = getenv("HOME");
if(home) {
sprint(newstime, TFILE, home);
d = dirstat(newstime);