]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: variables clean-up in libvirt-guests script
authorPrathamesh Chavan <pc44800@gmail.com>
Sun, 29 Mar 2020 10:44:43 +0000 (16:14 +0530)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 6 Apr 2020 13:00:00 +0000 (15:00 +0200)
commit08071ec0f113bb1fe8dcc263cb6bf87529e8b76b
treeea55e68b19b16553b9a4fdf152b8e8de0d575578
parent333fd2bdb03e88b8a5e378f2c3c6db7bde97cd2f
tools: variables clean-up in libvirt-guests script

Redeclared variables in script functions marked as local.
Variables `guest_running` and `guests_shutting_down` in the
functions 'guest_is_on` and `check_guests_shutdown` were
untouched, as the functions returned values in these
variables.

Signed-off-by: Prathamesh Chavan <pc44800@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/libvirt-guests.sh.in