diff --git a/contrib/pg_upgrade/check.c b/contrib/pg_upgrade/check.c
index ac290c4a2b23ca2b835adffdf0e3dd9033b3ae78..ebdc34e188496f0b5a3ce1ababab11fb046eb959 100644
--- a/contrib/pg_upgrade/check.c
+++ b/contrib/pg_upgrade/check.c
@@ -484,6 +484,8 @@ check_is_super_user(ClusterInfo *cluster)
 	PGresult   *res;
 	PGconn	   *conn = connectToServer(cluster, "template1");
 
+	prep_status("Checking database user is a superuser");
+
 	/* Can't use pg_authid because only superusers can view it. */
 	res = executeQueryOrDie(conn,
 							"SELECT rolsuper "
@@ -497,6 +499,8 @@ check_is_super_user(ClusterInfo *cluster)
 	PQclear(res);
 
 	PQfinish(conn);
+
+	check_ok();
 }