cli: fix typo when looking for a specific call fails
$ sudo mmcli --call 1 --hangup error: couldn't find sms at '/org/freedesktop/ModemManager1/Call/1': 'no modems found' (cherry picked from commit e71a4282db94f8f18b5884fe7966b95febc18a6d)
This commit is contained in:
@@ -1485,7 +1485,7 @@ mmcli_get_call_sync (GDBusConnection *connection,
|
|||||||
manager = mmcli_get_manager_sync (connection);
|
manager = mmcli_get_manager_sync (connection);
|
||||||
modems = g_dbus_object_manager_get_objects (G_DBUS_OBJECT_MANAGER (manager));
|
modems = g_dbus_object_manager_get_objects (G_DBUS_OBJECT_MANAGER (manager));
|
||||||
if (!modems) {
|
if (!modems) {
|
||||||
g_printerr ("error: couldn't find sms at '%s': 'no modems found'\n",
|
g_printerr ("error: couldn't find call at '%s': 'no modems found'\n",
|
||||||
call_path);
|
call_path);
|
||||||
exit (EXIT_FAILURE);
|
exit (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user