Be more specific in error messages about PID file location

This commit is contained in:
Pavel Roskin 2016-03-03 22:48:30 -08:00
parent 3eb495f425
commit e0a9c769e0
2 changed files with 4 additions and 4 deletions

View File

@ -492,8 +492,8 @@ main(int argc, char **argv)
if (g_file_exist(pid_file)) /* xrdp.pid */
{
g_writeln("It looks like xrdp is already running,");
g_writeln("if not delete the xrdp.pid file and try again");
g_writeln("It looks like xrdp is already running.");
g_writeln("If not, delete %s and try again.", pid_file);
g_deinit();
g_exit(0);
}

View File

@ -540,8 +540,8 @@ main(int argc, char **argv)
if (g_file_exist(pid_file)) /* xrdp.pid */
{
g_writeln("It looks like xrdp is already running,");
g_writeln("if not delete the xrdp.pid file and try again");
g_writeln("It looks like xrdp is already running.");
g_writeln("If not, delete %s and try again.", pid_file);
g_exit(0);
}