]> git.pld-linux.org Git - packages/msmtp.git/blame - msmtp-home_etc.patch
- 0.6.3
[packages/msmtp.git] / msmtp-home_etc.patch
CommitLineData
f66b1c44 1diff -Nru msmtp-0.6.2.orig/src/msmtp.c msmtp-0.6.2/src/msmtp.c
2--- msmtp-0.6.2.orig/src/msmtp.c 2003-11-13 18:38:17.000000000 +0100
3+++ msmtp-0.6.2/src/msmtp.c 2003-11-19 14:25:31.000000000 +0100
4@@ -193,7 +193,9 @@
5 /* read the configuration file */
6 if (!conffile)
7 {
8- if (!(p = getenv("HOME")))
9+ p = getenv("HOME_ETC");
10+ if (!p) p = getenv("HOME");
11+ if (!p)
12 {
13 add_error_line("no environment variable HOME");
14 print_error_lines(stderr);
This page took 0.052643 seconds and 4 git commands to generate.