]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Allow non-interactive use of 'cd' command
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 Mar 2024 13:46:29 +0000 (14:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commiteb82c632e3b39cf53c2df000020973ea77edbb83
tree133b5240f633f1e3bc3291791f887d47c594c8c9
parent6193c4656e67f8d5f7a7de01aff4f24b2fe7e782
vsh: Allow non-interactive use of 'cd' command

For testing purposes it will come handy to change the directory from a
batch-mode script. Remove the check forbidding use of the 'cd' command
in batch mode.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/manpages/virsh.rst
tools/vsh.c