xrdp: xrdp should exit with error code when unknown CLI option given
This commit is contained in:
parent
37d5430123
commit
48aafc1866
@ -397,7 +397,7 @@ main(int argc, char **argv)
|
||||
g_writeln("xrdp -h for help");
|
||||
g_writeln("%s", "");
|
||||
g_deinit();
|
||||
g_exit(0);
|
||||
g_exit(1);
|
||||
}
|
||||
|
||||
g_snprintf(pid_file, 255, "%s/xrdp.pid", XRDP_PID_PATH);
|
||||
|
Loading…
Reference in New Issue
Block a user