From e0a9c769e0f1a689ab508d8695f6490b7813364c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 3 Mar 2016 22:48:30 -0800 Subject: [PATCH] Be more specific in error messages about PID file location --- xrdp/xrdp.c | 4 ++-- xrdp/xrdpwin.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 51820688..15a0661b 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -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); } diff --git a/xrdp/xrdpwin.c b/xrdp/xrdpwin.c index 99eb5c76..0b852772 100644 --- a/xrdp/xrdpwin.c +++ b/xrdp/xrdpwin.c @@ -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); }