Commit d07b9e26 authored by Claudio Cacciari's avatar Claudio Cacciari
Browse files

set the *notification param to 0 again, that's to avoid duplicated messages

parent 36c5a1f9
......@@ -133,7 +133,7 @@ EUDATReplication(*source, *destination, *registered, *recursive, *response) {
if (*rsyncStatus != 0) {
logDebug("perform a further verification about checksum and size");
*logEnabled = bool("true");
*notification = 1;
*notification = 0;
*status = EUDATCheckIntegrity(*source,*destination,*logEnabled,*notification,*response);
}
}
......@@ -256,12 +256,12 @@ EUDATRegDataRepl(*source, *destination, *recursive, *response) {
if (*rsyncStatus != 0) {
logDebug("perform a further verification about checksum and size");
*logEnabled = bool("true");
*notification = 1;
*notification = 0;
*status = EUDATCheckIntegrity(*source,*destination,*logEnabled,*notification,*response);
}
if (*status) {
*notification = 1;
*notification = 0;
EUDATPIDRegistration(*source, *destination, *notification, *response);
if (*response != "None") { *status = bool("false") }
# update the parent PID of each replica with the related child PID
......@@ -309,11 +309,11 @@ EUDATRegDataRepl(*source, *destination, *recursive, *response) {
if (*rsyncStatus != 0) {
logDebug("perform a further verification about checksum and size");
*logEnabled = bool("true");
*notification = 1;
*notification = 0;
*status = EUDATCheckIntegrity(*source,*destination,*logEnabled,*notification,*response);
}
if (*status) {
*notification = 1;
*notification = 0;
# update the parent PID of the replica with the related child PID
EUDATPIDRegistration(*source, *destination, *notification, *response);
if (*response != "None") { *status = bool("false") }
......
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