return check
@@ -394,7 +394,8 @@ int shadow_server_parse_command_line(rdpShadowServer* server, int argc, char** a
}
CommandLineSwitchCase(arg, "keytab")
{
- freerdp_settings_set_string(settings, FreeRDP_KerberosKeytab, arg->Value);
+ if (!freerdp_settings_set_string(settings, FreeRDP_KerberosKeytab, arg->Value))
+ return COMMAND_LINE_ERROR;
}
CommandLineSwitchDefault(arg)
{
