diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/sys_unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c index f29ddd07..10a71b43 100644 --- a/src/sys/sys_unix.c +++ b/src/sys/sys_unix.c @@ -515,8 +515,9 @@ void Sys_ErrorDialog( const char *error ) #endif // Make sure the write path for the crashlog exists... - if( FS_CreatePath( ospath ) ) { - Com_Printf( "ERROR: couldn't create path '%s' for crash log.\n", ospath ); + if(!Sys_Mkdir(ospath)) + { + Com_Printf("ERROR: couldn't create path '%s' for crash log.\n", ospath); return; } |