summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-03-03 22:48:30 -0800
committerPavel Roskin <plroskin@gmail.com>2016-03-03 22:56:09 -0800
commite0a9c769e0f1a689ab508d8695f6490b7813364c (patch)
treebbd9af7c6220b83e1d591f517eba9bbebf410707 /xrdp
parent3eb495f425969be1fc7123f4d75a05833e0e4231 (diff)
downloadxrdp-proprietary-e0a9c769e0f1a689ab508d8695f6490b7813364c.tar.gz
xrdp-proprietary-e0a9c769e0f1a689ab508d8695f6490b7813364c.zip
Be more specific in error messages about PID file location
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.c4
-rw-r--r--xrdp/xrdpwin.c4
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);
}