]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/common
do not exit on non-existant files, only log it
[dak.git] / config / debian / common
index f76fb95836f3058734953db4bd8f337fe407ab79..9bc417b7bb91918fa45594847bb7d42220cda979 100644 (file)
@@ -57,7 +57,6 @@ function acceptnew () {
                 mv --target-directory="${accepted}" "${NAME}"
             else
                 log_error "Error, couldn't find file ${NAME} to move to ${accepted}"
-                exit 2
             fi
         done
         mv --target-directory="${accepted}"  "${file}" "${file%%.changes}.dak"
@@ -71,9 +70,10 @@ function do_unchecked () {
     changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
     report=$queuedir/REPORT
     timestamp=$(date "+%Y-%m-%d %H:%M")
+    UNCHECKED_WITHOUT_LOCK=${UNCHECKED_WITHOUT_LOCK:-""}
 
     echo "$timestamp": ${changes:-"Nothing to do"}  >> $report
-    dak process-unchecked -a -d "$unchecked" >> $report
+    dak process-unchecked -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report
 }
 
 function sync_debbugs () {