From: fredrik Date: Sun, 30 Oct 2005 02:12:05 +0000 (+0000) Subject: Enable wait mode. X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=commitdiff_plain;h=9151870a67acce59580d3f92aa629bd75c95766e Enable wait mode. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@428 959494ce-11ee-0310-bf91-de5d638817bd --- 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