From: data Date: Fri, 2 Sep 2005 05:18:58 +0000 (+0000) Subject: Deleted useless false calls to run_command that ended up putting unnecessary error... X-Git-Url: https://git.hcoop.net/clinton/abcde.git/commitdiff_plain/33bc33c3c5ebcff1e264d36e8534ef3820fb7aa1 Deleted useless false calls to run_command that ended up putting unnecessary error messages in the final error report. git-svn-id: http://abcde.googlecode.com/svn/trunk@123 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- diff --git a/abcde b/abcde index b5b720e..3cf25af 100755 --- a/abcde +++ b/abcde @@ -360,9 +360,7 @@ do_replaygain() *);; esac done - if checkerrors replaygain-.{3,6}; then - run_command replaygain false - else + if checkerrors replaygain-.{3,6}; then :; else run_command replaygain true fi fi @@ -692,9 +690,7 @@ do_tag () ;; esac done - if checkerrors "tagtrack-(.{3,6})-$1"; then - run_command tagtrack-$1 false - else + if checkerrors "tagtrack-(.{3,6})-$1"; then :; else run_command tagtrack-$1 true fi @@ -726,7 +722,7 @@ do_batch_encode () else for UTRACKNUM in $TRACKQUEUE do - echo encodetrack-$UTRACKNUM >> status + run_command encodetrack-$UTRACKNUM true done fi ) @@ -875,9 +871,7 @@ do_encode () esac done # Only remove .wav if the encoding succeeded - if checkerrors "encodetrack-(.{3,6})-$1"; then - run_command encodetrack-$1 false - else + if checkerrors "encodetrack-(.{3,6})-$1"; then :; else run_command encodetrack-$1 true if [ ! "$KEEPWAVS" = "y" ] ; then rm -f "$IN"