[Libguestfs] [PATCH 6/7] Fix logging of error messages in augeas_error

Matthew Booth mbooth at redhat.com
Tue Apr 26 16:03:51 UTC 2011


---
 lib/Sys/VirtConvert/Util.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Sys/VirtConvert/Util.pm b/lib/Sys/VirtConvert/Util.pm
index 94211a5..b74d750 100644
--- a/lib/Sys/VirtConvert/Util.pm
+++ b/lib/Sys/VirtConvert/Util.pm
@@ -121,8 +121,8 @@ sub augeas_error
 
     chomp($msg);
 
-    v2vdie $msg if length($msg) > 0;
-    v2vdie $err;
+    v2vdie($msg) if length($msg) > 0;
+    v2vdie($err);
 }
 
 
-- 
1.7.4.4




More information about the Libguestfs mailing list