diff --git a/engine/client/sys_linux.c b/engine/client/sys_linux.c index 44c9e4ef8..c4851921e 100644 --- a/engine/client/sys_linux.c +++ b/engine/client/sys_linux.c @@ -1190,7 +1190,7 @@ int main (int c, const char **v) } } #else - parms.basedir = ""; //play it safe when realpath is too awkward to use. don't depend upon "./" working, and hope that the user uses -basedir or simply doesn't care about path prints (hopefully its only windows libraries that change the working dir without the program's permission). + parms.basedir = "./"; #endif memset(bindir, 0, sizeof(bindir)); //readlink does NOT null terminate, apparently.