diff --git a/patch-control.sh b/patch-control.sh index f1620c6a2feac484ef3fb6003ec63e94b001941c..6e991ba00fd40158cbc44d529125feae6bc663ed 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -155,7 +155,7 @@ done | zenity --progress \ run_number=`get_run_number` -ROOT_FILE=`printf "${DIR}/KM3NeT_%08d.root" ${run_number}` +ROOT_FILE=`printf "KM3NeT_%08d.root" ${run_number}` ssh ${DAQ_USER}@${DAQ_SERVER} "[ -e ${ROOT_FILE} ]" && { log "A root file for the current run already exists. Run ${run_number} canceled." zenity --error --text="A root file for the current run already exists. Run ${run_number} canceled." --title="Error (at $(date))"