Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b7fb47ca authored by BOULLE Olivier's avatar BOULLE Olivier
Browse files

error function bad message

parent 008b1d23
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ call_function() { ...@@ -26,7 +26,7 @@ call_function() {
$function_command #execute the command $function_command #execute the command
if [ ! $? = 0 ] #test if command failed if [ ! $? = 0 ] #test if command failed
then then
echo "error in $(basename $1)" echo "error in $(basename $2)"
echo "canceling dna_add" echo "canceling dna_add"
rm -rf $stored_document_path rm -rf $stored_document_path
del_document "$container_path" $doc_index del_document "$container_path" $doc_index
......
...@@ -27,7 +27,7 @@ call_function() { ...@@ -27,7 +27,7 @@ call_function() {
$function_command #execute the command $function_command #execute the command
if [ ! $? = 0 ] #test if command failed if [ ! $? = 0 ] #test if command failed
then then
echo "error in $(basename $1)" echo "error in $(basename $2)"
echo "canceling dna_read" echo "canceling dna_read"
exit 1 exit 1
fi fi
......
...@@ -28,7 +28,7 @@ call_function() { ...@@ -28,7 +28,7 @@ call_function() {
$function_command #execute the command $function_command #execute the command
if [ ! $? = 0 ] #test if command failed if [ ! $? = 0 ] #test if command failed
then then
echo "error in $(basename $1)" echo "error in $(basename $2)"
echo "canceling dna_store" echo "canceling dna_store"
exit 1 exit 1
fi fi
......
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