diff --git a/app/nan_check/rose-app.conf b/app/nan_check/rose-app.conf index eb4de5181687e4c9d7ff9f6ea4bda1adbae7ef92..6c5208670d4ccc139bd965f28127d932ee210e6d 100644 --- a/app/nan_check/rose-app.conf +++ b/app/nan_check/rose-app.conf @@ -1,5 +1,5 @@ [command] -default = log_file=${ROSE_TASK_LOG_ROOT}; log_dir=${log_file::${#log_dir}-4} +default = log_file=${ROSE_TASK_LOG_ROOT}; log_dir=${log_file::${#log_file}-4}; cd ${log_dir}; cd ../../run_fvcom/01/; - nanlines=$(grep -w "NaN" job.out| wc -l"); - if [ ${nanlines} -gt 0 ]; then exit 1 fi + nanlines=$(grep -w "NaN" job.out| wc -l); + if [ ${nanlines} -gt 0 ]; then exit 1; fi;