summaryrefslogtreecommitdiff
path: root/src/sys/sys_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sys_unix.c')
-rw-r--r--src/sys/sys_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c
index 53a86354..b05cf855 100644
--- a/src/sys/sys_unix.c
+++ b/src/sys/sys_unix.c
@@ -54,7 +54,7 @@ char *Sys_DefaultHomePath(void)
{
char *p;
- if( !*homePath )
+ if( !*homePath && com_homepath != NULL )
{
if( ( p = getenv( "HOME" ) ) != NULL )
{