mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
syntax error "Bad fd number" when stopping libvirt-guests
When libvirt-guests is being stopped, I get the following message: $Running guests on default URI: test-vm $Suspending guests on default URI... $Suspending test-vm: /etc/init.d/libvirt-guests: 340: Syntax error: Bad fd number
This commit is contained in:
parent
e4bc372e1b
commit
68e5e4672a
1
AUTHORS
1
AUTHORS
@ -137,6 +137,7 @@ Patches have also been contributed by:
|
||||
Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
|
||||
Wen Congyang <wency@cn.fujitsu.com>
|
||||
Hu Tao <hutao@cn.fujitsu.com>
|
||||
Laurent Léonard <laurent@open-minds.org>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
@ -177,7 +177,7 @@ suspend_guest()
|
||||
virsh_pid=$!
|
||||
while true; do
|
||||
sleep 1
|
||||
kill -0 $virsh_pid >&/dev/null || break
|
||||
kill -0 $virsh_pid >/dev/null 2>&1 || break
|
||||
progress=$(run_virsh_c $uri domjobinfo $guest 2>/dev/null | \
|
||||
awk '/^Data processed:/{print $3, $4}')
|
||||
if [ -n "$progress" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user