librc: Do not output error messages from within the library.
This fixes a compile issue. Also, it is cleaner to have the client output error messages as opposed to having the library do this. Reported-by: Ewoud Kohl van Wijngaarden <gentoo@kohlvanwijngaarden.nl> X-Gentoo-Bug: 409743 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=409743
This commit is contained in:
@ -793,6 +793,13 @@ main(int argc, char **argv)
|
||||
env_filter();
|
||||
env_config();
|
||||
|
||||
/* complain about old configuration settings if they exist */
|
||||
if (exists(RC_CONF_OLD)) {
|
||||
ewarn("%s still exists on your system and should be removed.",
|
||||
RC_CONF_OLD);
|
||||
ewarn("Please migrate to the appropriate settings in %s", RC_CONF);
|
||||
}
|
||||
|
||||
argc++;
|
||||
argv--;
|
||||
while ((opt = getopt_long(argc, argv, getoptstring,
|
||||
|
Reference in New Issue
Block a user