key = xmemdup0 (option, equals - option);
if (string_map_contains (&to->options, key))
{
- error (0, 0, _("%s: output option %s specified more than twice"), key);
+ error (0, 0, _("%s: output option specified more than once"), key);
free (key);
return;
}
register_output_driver (to);
}
- if (to->has_terminal_driver && !to->has_error_file)
+ if (!to->has_terminal_driver && !to->has_error_file)
msglog_create ("-");
string_map_destroy (&to->options);