Commit 6f1d1f8c authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

other fixes

parent 4acbdbfc
......@@ -42,7 +42,9 @@ irods_push(){
# Alert to zabbix
zabbix "${KEY}:Error 011"
echo "[$KEY] staging.tar data sent, let's commit everything on irods server"
irods_commit $KEY
......@@ -98,7 +100,7 @@ irods_commit(){
return 1
echp "[$KEY] Validate staging.tar by moving it to staging.tar"
echo "[$KEY] Validate staging.tar by moving it to latest.tar"
imv $KEY/staging.tar $KEY/latest.tar
if [[ $? -ne 0 ]]; then
echo "[$KEY] Error 005 moving statging.tar to latest.tar. Corrective action has to be taken manualy"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment