summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-01-07 23:38:05 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-17 18:09:47 -0800
commit9d162d73015c8c20dce94564a5218b9a0bace966 (patch)
tree3854d0612642a393486a16ccf1c358fde6d52965 /xrdp/xrdp.c
parent0afbd57638cbba35d6c081e91262b7c267d04c17 (diff)
downloadxrdp-proprietary-9d162d73015c8c20dce94564a5218b9a0bace966.tar.gz
xrdp-proprietary-9d162d73015c8c20dce94564a5218b9a0bace966.zip
Implement "-n" alias for "--nodaemon" as documented in the manpage
Diffstat (limited to 'xrdp/xrdp.c')
-rw-r--r--xrdp/xrdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index b55a90cc..89dbc089 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -246,6 +246,7 @@ xrdp_process_params(int argc, char **argv,
}
else if ((g_strncasecmp(option, "-nodaemon", 255) == 0) ||
(g_strncasecmp(option, "--nodaemon", 255) == 0) ||
+ (g_strncasecmp(option, "-n", 255) == 0) ||
(g_strncasecmp(option, "-nd", 255) == 0) ||
(g_strncasecmp(option, "--nd", 255) == 0) ||
(g_strncasecmp(option, "-ns", 255) == 0) ||