X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=autodlctl;h=6bac7514c677696d89169713bfe6cd9e0b37ddf5;hb=306708ee9f3e2632783812e098c46e96ac2f76b7;hp=1215c65a45f9e978dc5d9f39977033f50e66e3e7;hpb=ccc141a39e09ba0ddd163e953a642beb002cccef;p=utils.git 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