Blob Blame History Raw
diff -up rsnapshot-1.3.1/rsnapshot-program.pl.lvm-quiet rsnapshot-1.3.1/rsnapshot-program.pl
--- rsnapshot-1.3.1/rsnapshot-program.pl.lvm-quiet	2013-09-09 22:16:12.177041378 -0700
+++ rsnapshot-1.3.1/rsnapshot-program.pl	2013-09-10 22:06:46.193923280 -0700
@@ -3728,9 +3728,7 @@ sub rsync_backup_point {
         
         print_cmd(@cmd_stack);
         if (0 == $test) {
-            # silence gratuitous lvremove output
-            #$result = system(@cmd_stack);
-            $result = system(join " ", @cmd_stack, ">/dev/null");
+            $result = system(@cmd_stack);
             
             if ($result != 0) {
                 bail("Unmount LVM snapshot failed: $result");
@@ -3745,7 +3743,9 @@ sub rsync_backup_point {
         
         print_cmd(@cmd_stack);
         if (0 == $test) {
-            $result = system(@cmd_stack);
+            # silence gratuitous lvremove output
+            #$result = system(@cmd_stack);
+            $result = system(join " ", @cmd_stack, ">/dev/null");
             
             if ($result != 0) {
                 bail("Removal of LVM snapshot failed: $result");