libvirt/tools
John Ferlan bcfa2f427d vsh: Write out history on "quit" or "exit" in interactive mode
https://bugzilla.redhat.com/show_bug.cgi?id=1379895

Introduced by commit id '834c5720'.

During the code motion and creation of vsh.c, the function 'vshDeinit()'
in the (new) vsh.c was altered from whence it came in virsh.c such that
calling 'vshReadlineDeinit(ctl)' was conditional on "ctl->imode".

This causes a problem for the interactive running if the "quit" and "exit"
commands are used because 'cmdQuit' will clear ctl->imode, thus when the
interactive loop in main() of virsh.c exits because ctl->mode is clear and
virshDeinit is called which calls vshDeinit, the history file is now not
written. Conversely, if one had exited the interactive loop via pressing
<ctrl>D the file would be created because loop control is broken on EOF
and ctl->imode is not set to false.

This patch will remove the conditional call to vshReadlineDeinit and
restore the former behaviour.
2016-09-29 07:00:28 -04:00
..
nss Use virDirOpenQuiet 2016-06-24 14:20:57 +02:00
wireshark wireshark: Drop glib dependency 2016-08-01 12:02:51 +02:00
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirt-guests.service.in libvirt-guests.service: Add Requires=libvirtd.service 2016-09-06 16:05:20 +02:00
libvirt-guests.sh.in libvirt-guests: Initialize SYNC_TIME 2015-05-12 08:53:14 +02:00
libvirt-guests.sysconf
Makefile.am tools: Don't list virsh-* under EXTRA_DIST 2016-08-31 12:52:11 +02:00
virsh_win_icon.rc
virsh-console.c tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-console.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain-monitor.c qemu: expand domain memory statistics with 'last-update' timestamp 2016-07-26 17:30:01 +02:00
virsh-domain-monitor.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain.c virsh: add --keep-nvram option to undefine command 2016-09-13 09:31:50 +02:00
virsh-domain.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-edit.c
virsh-host.c cpu: Special case models == NULL in cpuGetModels 2016-09-22 15:40:08 +02:00
virsh-host.h
virsh-interface.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-interface.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-network.c virsh: Fix *-event error string 2016-09-08 09:54:12 +02:00
virsh-network.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-nodedev.c virt-admin: Tweak command parsing logic so that aliases point to new commands 2016-09-20 15:17:46 +02:00
virsh-nodedev.h
virsh-nwfilter.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-nwfilter.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-pool.c virsh: Fix *-event error string 2016-09-08 09:54:12 +02:00
virsh-pool.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-secret.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-secret.h
virsh-snapshot.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-snapshot.h
virsh-volume.c storage: Delete extra wrap after vol-resize error 2016-09-07 11:11:30 -04:00
virsh-volume.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh.c virsh: Move cmdSelfTest to vsh 2016-09-14 13:18:07 +02:00
virsh.h virsh: Add support for text based polkit authentication 2016-03-01 06:50:16 -05:00
virsh.pod doc: fix note about Xen credit scheduler 2016-09-28 07:47:07 -06:00
virt-admin.c Fix various code comment typos 2016-09-26 08:06:30 -04:00
virt-admin.h Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00
virt-admin.pod virt-admin: Add some command aliases to provide syntax sugar over ugly commands 2016-09-20 15:17:46 +02:00
virt-host-validate-common.c tools: virt-host-validate: HW virt support on s390 2016-05-04 16:30:30 +02:00
virt-host-validate-common.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-lxc.c host-validate: Fix suggestion for missing cpu cgroup 2016-03-30 09:41:54 +02:00
virt-host-validate-lxc.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-qemu.c virt-host-validate: fix build with clang 2016-06-14 08:02:45 +03:00
virt-host-validate-qemu.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate.c build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-host-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-login-shell.c tools: Fix comparison in virLoginShellGetShellArgv 2016-07-19 07:51:10 -04:00
virt-login-shell.conf virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-login-shell.pod virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-pki-validate.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-pki-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-sanlock-cleanup.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-sanlock-cleanup.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-xml-validate.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-xml-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
vsh.c vsh: Write out history on "quit" or "exit" in interactive mode 2016-09-29 07:00:28 -04:00
vsh.h virt-admin: Tweak command parsing logic so that aliases point to new commands 2016-09-20 15:17:46 +02:00