Fix a syntax error

tags/virt-backup-0.2.12-1
Daniel Berteaud 11 years ago
parent b58b095631
commit 5a12918bf2
  1. 2
      virt-backup

@ -438,7 +438,7 @@ sub run_dump{
if ($opts{debug} && $opts{compress} ne 'none') if ($opts{debug} && $opts{compress} ne 'none')
} }
else { else {
print "\nStarting dump of $source to $dest\n\n" if ($opts{debug}) print "\nStarting dump of $source to $dest\n\n" if ($opts{debug});
$cmd = "$opts{ionice} dd if=$source bs=$opts{blocksize} | $opts{nice} $opts{compcmd} > $dest 2>/dev/null"; $cmd = "$opts{ionice} dd if=$source bs=$opts{blocksize} | $opts{nice} $opts{compcmd} > $dest 2>/dev/null";
} }
unless( system("$cmd") == 0 ){ unless( system("$cmd") == 0 ){

Loading…
Cancel
Save