diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-03-03 22:48:30 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-03-03 22:56:09 -0800 |
commit | e0a9c769e0f1a689ab508d8695f6490b7813364c (patch) | |
tree | bbd9af7c6220b83e1d591f517eba9bbebf410707 /xrdp | |
parent | 3eb495f425969be1fc7123f4d75a05833e0e4231 (diff) | |
download | xrdp-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.c | 4 | ||||
-rw-r--r-- | 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); } |