From 9151870a67acce59580d3f92aa629bd75c95766e Mon Sep 17 00:00:00 2001 From: fredrik Date: Sun, 30 Oct 2005 02:12:05 +0000 Subject: [PATCH] Enable wait mode. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@428 959494ce-11ee-0310-bf91-de5d638817bd --- autodlctl | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.11.0