swanctl: log errors to stderr

This commit is contained in:
Andreas Steffen
2016-04-24 23:33:23 +02:00
parent 029d3a0ce6
commit 4e3234afb4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)