]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Add exitstatus parameter to virCommandRunRegex
authorJohn Ferlan <jferlan@redhat.com>
Fri, 13 May 2016 16:36:39 +0000 (12:36 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 18 May 2016 12:29:24 +0000 (08:29 -0400)
commit8b1049473317c09d34b3ce9671d0f9e91dd4f1c0
tree5f57c68e460752278b70b2cc6a63348841a03bef
parentf6ececa68d430fe1a068200b60efcc67438391a1
util: Add exitstatus parameter to virCommandRunRegex

Rather than have virCommandRun just spit out the error, allow callers
to decide to pass the exitstatus so the caller can make intelligent
decisions based on the error.
src/storage/storage_backend_fs.c
src/storage/storage_backend_logical.c
src/util/vircommand.c
src/util/vircommand.h
src/util/viriscsi.c