Cleaned code a bit
This commit is contained in:
parent
8e1a742fbb
commit
839db835fd
@ -148,7 +148,6 @@ while [ $COUNT -le $(cat ${SLOTS_FULL} | wc -l) ]; do
|
||||
fi
|
||||
log "### SLOT ${SLOT} - BARCODE ${BARCODE}"
|
||||
for (( i = 0 ; i < ${PARALLELISM} ; i++ )); do # Look for an available drive
|
||||
#log "scelta drive - ciclo numero ${i}"
|
||||
if [ -f "${TMP}/.drive${i}.ready" ]; then # Look for "ready" file
|
||||
DRIVE=${i}
|
||||
mv "${TMP}/.drive${DRIVE}.ready" "${TMP}/.drive${DRIVE}.lock"
|
||||
|
Loading…
x
Reference in New Issue
Block a user