swanctl: log errors to stderr
This commit is contained in:
@@ -292,7 +292,7 @@ int load_authorities_cfg(vici_conn_t *conn, command_format_options_t format,
|
||||
}
|
||||
if (found == 0)
|
||||
{
|
||||
printf("no authorities found, %u unloaded\n", unloaded);
|
||||
fprintf(stderr, "no authorities found, %u unloaded\n", unloaded);
|
||||
return 0;
|
||||
}
|
||||
if (loaded == found)
|
||||
|
||||
@@ -396,7 +396,7 @@ int load_conns_cfg(vici_conn_t *conn, command_format_options_t format,
|
||||
}
|
||||
if (found == 0)
|
||||
{
|
||||
printf("no connections found, %u unloaded\n", unloaded);
|
||||
fprintf(stderr, "no connections found, %u unloaded\n", unloaded);
|
||||
return 0;
|
||||
}
|
||||
if (loaded == found)
|
||||
|
||||
@@ -235,7 +235,7 @@ int load_pools_cfg(vici_conn_t *conn, command_format_options_t format,
|
||||
}
|
||||
if (found == 0)
|
||||
{
|
||||
printf("no pools found, %u unloaded\n", unloaded);
|
||||
fprintf(stderr, "no pools found, %u unloaded\n", unloaded);
|
||||
return 0;
|
||||
}
|
||||
if (loaded == found)
|
||||
|
||||
Reference in New Issue
Block a user