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

@ -91,6 +91,7 @@ bool input_remapping_save_file(const char *path)
if (!conf) if (!conf)
{ {
conf = config_file_new(NULL); conf = config_file_new(NULL);
if (!conf)
return false; return false;
} }