MT#5427 Clean up log messages.

vseva/5635
Andreas Granig 12 years ago
parent 5d5ac0154e
commit a8c8b63943

@ -97,7 +97,11 @@ running_on_active_node() {
return 1 return 1
else else
if /usr/sbin/ngcp-check_active -q ; then if /usr/sbin/ngcp-check_active -q ; then
verbose "This seems to be the active node, nothing to do." if $FORCE_ACTIVE_NODE; then
verbose "Force update on active node as requested."
else
verbose "This seems to be the active node, nothing to do."
fi
return 0 return 0
else else
verbose "This seems to be the inactive node, applying revisions." verbose "This seems to be the inactive node, applying revisions."
@ -207,7 +211,7 @@ revision_wrapper() {
if $FORCE_ACTIVE_NODE; then if $FORCE_ACTIVE_NODE; then
revlist="$revlist $(basename $rev)" revlist="$revlist $(basename $rev)"
else else
echo "Replication script ${revname} noted, nothing to do on active node" verbose "Replication script ${revname} noted, nothing to do on active node"
fi fi
else else
revlist="$revlist $(basename $rev)" revlist="$revlist $(basename $rev)"

Loading…
Cancel
Save