author | Heiko Schlittermann (CTQ) <hs@schlittermann.de> |
Tue, 02 Aug 2011 11:22:31 +0200 | |
changeset 125 | 2e00ff442e15 |
parent 124 | 6c90a6e8646c |
child 126 | 15bc9b9d55e8 |
bin/ftbackup | file | annotate | diff | comparison | revisions |
--- a/bin/ftbackup Tue Aug 02 11:21:32 2011 +0200 +++ b/bin/ftbackup Tue Aug 02 11:22:31 2011 +0200 @@ -248,8 +248,8 @@ LOGDIE "failed system command: $_\n" if $?; $dev->{cleanup} = sub { - system "lvdisplay $snap &>/dev/null" - . " && lvremove -f $snap >/dev/null"; + system "lvdisplay $snap >/dev/null 2>&1" + . " && lvremove -f $snap >/dev/null 2>&1"; }; push @AT_EXIT, $dev->{cleanup};