mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-15 18:50:18 +01:00
nm-tool: Send all non-error output to stdout, instead of some output but not other.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1647 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
3d35794d85
commit
0695a8e944
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ static gboolean get_nm_state (DBusConnection *connection)
|
|||
success = FALSE;
|
||||
break;
|
||||
}
|
||||
fprintf (stderr, "State: %s\n\n", state_string);
|
||||
printf ("State: %s\n\n", state_string);
|
||||
|
||||
return success;
|
||||
}
|
||||
|
|
@ -327,7 +327,7 @@ static void detail_device (DBusConnection *connection, const char *path)
|
|||
print_string ("HW Address", hw_addr);
|
||||
|
||||
/* Capabilities */
|
||||
fprintf (stderr, "\n Capabilities:\n");
|
||||
printf ("\n Capabilities:\n");
|
||||
if (caps & NM_DEVICE_CAP_NM_SUPPORTED)
|
||||
print_string (" Supported", "yes");
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue