Hi, All
As we execute the virsh command and get the return code in my shell script, the code is
141.
virsh blockcommit $VM_NAME --path $vm_data_file --base $backing_file --wait
rtn_code=$?
We get the return code with 141 in script accidentally.
And most time we get the code with zero or one.
We don't know the reason that the command "virsh blockcommit" return with
141(May be 128 + 13(SIGPIPE)).
We refer to
http://unix.stackexchange.com/questions/99112/default-exit-code-when-proc....
Can we change some code of libvirt to avoid the 141 code?
Thanks.
-------------------------------------------------------------------------------------------------------------------------------------
????????????????????????????????????????
????????????????????????????????????????
????????????????????????????????????????
???
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!