From 9d162d73015c8c20dce94564a5218b9a0bace966 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 7 Jan 2017 23:38:05 -0800 Subject: [PATCH] Implement "-n" alias for "--nodaemon" as documented in the manpage --- xrdp/xrdp.c | 1 + 1 file changed, 1 insertion(+) 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) ||