diff --git a/patch-control.sh b/patch-control.sh index 3c4c27405108f24c382cf6a6de4436b38f2b14c6..34241ded185ec042066147e8f133d12e9417e508 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -203,7 +203,7 @@ done | zenity --progress \ run_number=`get_run_number` -ROOT_FILE=`printf "KM3NeT_%08d.root" ${run_number}` +ROOT_FILE=`printf "KM3NeT_%08d_%08d.root" ${DETECTOR_ID} ${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))"