Julio Faracco
13d45b0dc2
virsh: Fix virsh prompt when connection changes to readonly mode.
...
This commit fixes the virsh prompt when reconnection to the same URI is
called: `virsh # connect --readonly` (Reconnect). The problem is
happening because the code is considering URI (name) as a mandatory
parameter to change the prompt. This commit remove the assignment into
`priv->readonly` from `if (name)` conditional.
Before:
virsh # uri
qemu:///system
virsh # connect --readonly
virsh #
After:
virsh # uri
qemu:///system
virsh # connect --readonly
virsh >
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1507737
Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2017-11-27 10:12:30 +01:00
..
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2016-10-10 16:52:08 +08:00
2017-08-21 16:12:42 +02:00
2017-11-21 12:52:39 +01:00
2009-09-21 14:41:45 +01:00
2015-08-14 15:45:44 +02:00
2015-08-14 15:45:44 +02:00
2017-11-22 13:06:56 +01:00
2015-08-14 15:45:44 +02:00
2017-11-18 10:45:10 +01:00
2017-04-12 13:23:10 +02:00
2017-02-23 10:11:16 +00:00
2017-11-18 10:45:10 +01:00
2012-09-20 16:30:55 -06:00
2017-11-04 08:38:08 +01:00
2017-11-03 13:24:12 +01:00
2017-11-04 08:38:08 +01:00
2017-11-03 13:24:12 +01:00
2017-05-26 10:44:05 -04:00
2012-09-20 16:30:55 -06:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-04 08:38:08 +01:00
2017-11-03 13:24:12 +01:00
2017-09-21 15:46:48 -04:00
2012-09-20 16:30:55 -06:00
2017-11-04 08:38:08 +01:00
2012-09-20 16:30:55 -06:00
2017-05-18 07:42:13 +02:00
2017-05-18 07:42:13 +02:00
2017-11-04 08:38:08 +01:00
2017-11-03 13:24:12 +01:00
2017-11-27 10:12:30 +01:00
2017-11-04 08:38:08 +01:00
2017-10-19 11:52:28 +02:00
2017-11-03 13:24:12 +01:00
2015-12-21 10:07:59 +01:00
2017-10-16 10:22:34 +01:00
2017-11-04 08:38:08 +01:00
2017-03-11 21:22:58 +04:00
2017-08-24 18:37:37 -04:00
2016-05-11 09:06:32 +02:00
2017-10-12 21:32:07 +02:00
2016-05-11 09:06:32 +02:00
2016-06-14 08:02:45 +03:00
2016-05-11 09:06:32 +02:00
2017-03-11 21:22:58 +04:00
2017-10-16 10:22:34 +01:00
2016-11-25 13:54:05 +01:00
2016-06-10 11:03:02 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2016-04-25 15:40:43 +02:00
2017-10-16 10:22:34 +01:00
2016-04-25 15:40:43 +02:00
2017-10-16 10:22:34 +01:00
2017-11-23 18:37:17 +01:00
2017-11-03 13:24:12 +01:00