TT#5028 Improve user using expecied on ngcp-update-db-schema

We should inform the user what we are (not) doing and why.

Change-Id: I0cb426e57751005c99597ea664d5a0dc8df98808
changes/37/9137/2
Alexander Lutay 9 years ago
parent d6c0223870
commit 0073a7f9a1

@ -102,13 +102,13 @@ running_on_active_node() {
else
if /usr/sbin/ngcp-check_active -q ; then
if $FORCE_ACTIVE_NODE; then
verbose "Force update on active node as requested."
echo "Force update on active node as requested."
else
verbose "This seems to be the active node, nothing to do."
echo "This seems to be the active node, nothing to do."
fi
return 0
else
verbose "This seems to be the inactive node, applying revisions."
echo "This seems to be the inactive node, applying revisions."
return 1
fi
fi

Loading…
Cancel
Save