From: Mike Frysinger Date: Thu, 22 Mar 2012 15:44:59 +0000 (-0400) Subject: fall back to main feature X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=15a28e341e700269f870b0ba18f66361d190c852;p=home.git fall back to main feature --- diff --git a/.bin/backup-dvd b/.bin/backup-dvd index 5ea4286..8c3b4b2 100755 --- a/.bin/backup-dvd +++ b/.bin/backup-dvd @@ -64,7 +64,14 @@ e() { echo "$@" } -e dvdbackup -M -i ${dev} -o "${out}" -n "${Volume}" +opts=( + -i ${dev} + -o "${out}" + -n "${Volume}" +) +if ! e dvdbackup -M "${opts[@]}" ; then + e dvdbackup -F "${opts[@]}" || exit 1 +fi e mkisofs -quiet -dvd-video \ -A "${Application}" \ -p "${Preparer}" \