save remap file saving when a config doesn't exist already

This commit is contained in:
radius 2015-04-09 18:45:50 -05:00
parent 56391da5c2
commit a68a97e2f7

View File

@ -90,8 +90,9 @@ bool input_remapping_save_file(const char *path)
if (!conf)
{
conf = config_file_new(NULL);
return false;
conf = config_file_new(NULL);
if (!conf)
return false;
}
for (i = 0; i < settings->input.max_users; i++)