dvd-sector-copy.c: Adjust the base position when shifting.
[dvdrip] / dvdrip
diff --git a/dvdrip b/dvdrip
index ac37076..73400b6 100755 (executable)
--- a/dvdrip
+++ b/dvdrip
@@ -133,7 +133,8 @@ case $backup in
     ;;
   nil)
     if [ ! -f "$tmp/$tag/iso" ]; then
-      run_setrc "$DVD_SECTOR_COPY" -D"$dev" -c -b"$tmp/$tag/badblocks" -o"$tmp/$tag/iso.new"
+      run_setrc "$DVD_SECTOR_COPY" -c -b"$tmp/$tag/badblocks" \
+               "$dev" "$tmp/$tag/iso.new"
       case $rc in
        0)
          run mv "$tmp/$tag/iso.new" "$tmp/$tag/iso"