Skip to content
Snippets Groups Projects
Commit 30aa2fd5 authored by Carmelo Pellegrino's avatar Carmelo Pellegrino
Browse files

error correction

parent cc15cb5f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
# Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it>
#
if [ $# -ne 6 ]; then
if [ $# -ne 5 ]; then
echo "ERROR:"
echo "Syntax: $0 <run_number> <run_start_time> <run_duration_in_sec> <ip of the DAQ server> <username>"
exit -1
......
......@@ -174,7 +174,7 @@ dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --con
PROCS=(${PROCS[*]} $!)
# Launch the DAQ
log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds}"
log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} "
daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log
daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} >${daq_driver_log_file} &
PROCS=(${PROCS[*]} $!)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment