X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=autodlctl;h=b3c914c60fb6b6d6e497e97ceab8cb24e5a33da0;hb=7af242aa72215ae94dcff92fe22b76c6cf662592;hp=1b52a58a5a41ab60ecd5848f2013800b05dd3610;hpb=8c73da6800dfbdbf2d74d286db7f9ffe62c211c7;p=utils.git diff --git a/autodlctl b/autodlctl index 1b52a58..b3c914c 100755 --- a/autodlctl +++ b/autodlctl @@ -18,6 +18,7 @@ function getnext else echo "no available episode of $tag" >&2 echo "$tag" >>"$HOME/dc/autodl/faulty" + touch "$d/.autodl/disabled" return 1 fi unset badsizesl @@ -38,7 +39,7 @@ function getnext fi infofile="$d/.autodl/rtinfo" estatfile="$d/.autodl/estat" - args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile" -E "$estat" -x "curep=$curep") + args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile" -E "$estatfile" -x "curep=$curep") if [ -e "$d/.autodl/wait" ]; then args=("${args[@]}" -w) fi