Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: engine-backup: Suggest --help on failure
......................................................................

packaging: engine-backup: Suggest --help on failure

Change-Id: I6021095d229df8279f5b593f2a6619867d4fcc99
Bug-Url: https://bugzilla.redhat.com/1064903
Signed-off-by: Yedidyah Bar David <d...@redhat.com>
---
M packaging/bin/engine-backup.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/42/24542/1

diff --git a/packaging/bin/engine-backup.sh b/packaging/bin/engine-backup.sh
index 18dd4d9..592e086 100755
--- a/packaging/bin/engine-backup.sh
+++ b/packaging/bin/engine-backup.sh
@@ -324,7 +324,7 @@
                -d "${ENGINE_DB_DATABASE}" \
                -c "select 1" \
                >> "${LOG}" 2>&1 \
-               || logdie "Can't connect to the database"
+               || logdie "Can't connect to the database. Please see '${0} 
--help'."
 
        PGPASSFILE="${MYPGPASS}" pg_dump \
                -U "${ENGINE_DB_USER}" \


-- 
To view, visit http://gerrit.ovirt.org/24542
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6021095d229df8279f5b593f2a6619867d4fcc99
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to