Skip to content
Snippets Groups Projects
Commit 4232c9b4 authored by Domenico Giordano's avatar Domenico Giordano
Browse files

the date should be at the same level of the log printout

parent df34af8a
No related branches found
No related tags found
4 merge requests!239Qa,!237merge from qa,!230Huge set of changes to move to new code refactory,!174BMK-122 Update main.sh, check failures of test singularity and remove images created by singularity
This commit is part of merge request !174. Comments created here will be created in the context of that merge request.
...@@ -19,12 +19,10 @@ function fail(){ ...@@ -19,12 +19,10 @@ function fail(){
} }
function execute_command(){ function execute_command(){
date echo "`date` [execute_command] Executing '$@'"
echo "[execute_command] Executing '$@'"
eval "$@" eval "$@"
status=$? status=$?
echo "[execute_command] Return code: ${status}" echo "`date` [execute_command] Return code: ${status}"
date
return ${status} return ${status}
} }
......
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