X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=blobdiff_plain;f=autodlctl;h=6bac7514c677696d89169713bfe6cd9e0b37ddf5;hp=1215c65a45f9e978dc5d9f39977033f50e66e3e7;hb=9151870a67acce59580d3f92aa629bd75c95766e;hpb=ccc141a39e09ba0ddd163e953a642beb002cccef diff --git a/autodlctl b/autodlctl index 1215c65..6bac751 100755 --- a/autodlctl +++ b/autodlctl @@ -38,6 +38,9 @@ function getnext fi infofile="$d/.autodl/rtinfo" args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile") + if [ -e "$d/.autodl/wait" ]; then + args=("${args[@]}" -w) + fi if [ -r "$d/.autodl/uarg" ]; then uarg="`cat "$d/.autodl/uarg"`" elif [ -e "$d/.autodl/autouarg" ]; then