From: Carl Baldwin <cnb@ball.(none)>
Date: Fri, 28 Oct 2005 04:05:46 +0000 (-0600)
Subject: Oops, only mail if dvd was actually burned
X-Git-Tag: release-0.4~47
X-Git-Url: http://git.pippins.net/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/static/images/checkmark.gif?a=commitdiff_plain;h=fc7ffa6e97d11a4ac6099b50182be3acfdb46a8e;p=backups%2F.git

Oops, only mail if dvd was actually burned
---

diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh
index fd8dd2c..c128752 100755
--- a/scripts/burn-imgs.sh
+++ b/scripts/burn-imgs.sh
@@ -28,6 +28,6 @@ if [ -n "$img" ]; then
     rm -f $img{,.md5sum,.stat}
     rmdir $img.mnt
   fi
-fi
 
-echo $img | mailx -s "DVD burned.  File it as ${img%.*}" $mailto
+  echo $img | mailx -s "DVD burned.  File it as ${img%.*}" $mailto
+fi