diff --git a/src/86box.c b/src/86box.c index be420bcee..222da5f3a 100644 --- a/src/86box.c +++ b/src/86box.c @@ -598,8 +598,10 @@ usage: } /* TEMPORARY */ - if (!log_path[0]) - strcpy(log_path, "86box.log"); + if (!log_path[0]) { + strcpy(log_path, exe_path); + strcat(log_path, "86box.log"); + } /* One argument (config file) allowed. */ if (c < argc) {