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) if (!conf)
{ {
conf = config_file_new(NULL); conf = config_file_new(NULL);
return false; if (!conf)
return false;
} }
for (i = 0; i < settings->input.max_users; i++) for (i = 0; i < settings->input.max_users; i++)