As $user is not always defined at this point, do not bother showing it.
authorGreg Sabino Mullane <greg@endpoint.com>
Wed, 5 Aug 2015 02:38:42 +0000 (22:38 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Wed, 5 Aug 2015 02:38:42 +0000 (22:38 -0400)
bucardo

diff --git a/bucardo b/bucardo
index f358a88d605e91812a412218a9ceb681c86c6429..cb795ed499a562094e1d20d627e2b821c232d3a3 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -1995,7 +1995,7 @@ sub add_database {
                     }
                 }
                 else {
-                    $msg = qq{Connection to "$db" ($fullname) as user $user failed};
+                    $msg = qq{Connection to "$db" ($fullname) failed};
                 }
 
                 die "$msg. You may force add it with the --force argument.\nError was: $err\n\n"