Oops, only mail if dvd was actually burned
authorCarl Baldwin <cnb@ball.(none)>
Fri, 28 Oct 2005 04:05:46 +0000 (22:05 -0600)
committerCarl Baldwin <cnb@ball.(none)>
Fri, 28 Oct 2005 04:05:46 +0000 (22:05 -0600)
scripts/burn-imgs.sh

index fd8dd2ce8393191f5143cfeef65593cf822e11bf..c128752ed9fe06ec58370c59dfc76b6b51346f3f 100755 (executable)
@@ -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