[Pkg-libvirt-commits] [libguestfs] 102/116: ntfsresize: Capture errors sent to stdout (RHBZ#1166618).

Hilko Bengen bengen at moszumanska.debian.org
Wed Nov 26 22:05:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.29.10-1
in repository libguestfs.

commit dc845c9a6694dc7f06894e0df137176a4da73c66
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Nov 24 10:56:57 2014 +0000

    ntfsresize: Capture errors sent to stdout (RHBZ#1166618).
    
    ntfsresize sends error messages to stdout.  Capture those error
    messages.
---
 daemon/ntfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/ntfs.c b/daemon/ntfs.c
index aef45a2..762ca88 100644
--- a/daemon/ntfs.c
+++ b/daemon/ntfs.c
@@ -94,7 +94,7 @@ do_ntfsresize (const char *device, int64_t size, int force)
   ADD_ARG (argv, i, device);
   ADD_ARG (argv, i, NULL);
 
-  r = commandv (NULL, &err, argv);
+  r = commandvf (NULL, &err, COMMAND_FLAG_FOLD_STDOUT_ON_STDERR, argv);
   if (r == -1) {
     reply_with_error ("%s: %s", device, err);
     return -1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list