cli: prefix error messages with 'error: '

This commit is contained in:
Aleksander Morgado
2011-08-20 09:28:37 +02:00
parent 387db2b259
commit 96e07f7ab0
2 changed files with 6 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ main (gint argc, gchar **argv)
/* Setup dbus connection to use */
connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error);
if (!connection) {
g_printerr ("couldn't get bus: %s\n",
g_printerr ("error: couldn't get bus: %s\n",
error ? error->message : "unknown error");
exit (EXIT_FAILURE);
}