Oops, only mail if dvd was actually burned
[backups/.git] / scripts / burn-imgs.sh
index 1f38f7c05982875ef914a6edeaf1ccec4af46837..c128752ed9fe06ec58370c59dfc76b6b51346f3f 100755 (executable)
@@ -28,4 +28,6 @@ if [ -n "$img" ]; then
     rm -f $img{,.md5sum,.stat}
     rmdir $img.mnt
   fi
+
+  echo $img | mailx -s "DVD burned.  File it as ${img%.*}" $mailto
 fi