schema/spacewalk/spacewalk-schema-upgrade | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9968636e83bf1b0b61622891c26d4a3a6a82f17f
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Jul 29 15:57:08 2011 +0200
When versions match, it really is not an error.
diff --git a/schema/spacewalk/spacewalk-schema-upgrade
b/schema/spacewalk/spacewalk-schema-upgrade
index 24466b0..a2c1ddd 100755
--- a/schema/spacewalk/spacewalk-schema-upgrade
+++ b/schema/spacewalk/spacewalk-schema-upgrade
@@ -64,7 +64,8 @@ my $retried = 0;
RETRY:
if ($start_schema_norm eq $target_schema_norm) {
- die "Your database schema already matches the schema package version
[$target_schema_norm].\n";
+ warn "Your database schema already matches the schema package version
[$target_schema_norm].\n";
+ exit;
}
if ($start_schema ne $start_schema_norm
or $target_schema ne $target_schema_norm) {
Show replies by thread