From 20ce5987f9fd78213ab0010aa7ca24c1076c1e7f Mon Sep 17 00:00:00 2001 From: jeb228 Date: Thu, 25 Mar 2010 15:28:16 +0000 Subject: [PATCH] NIHVIVO-46 Correct the exit mechanism and add a line of text. --- utilities/release-tools/licenser.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utilities/release-tools/licenser.rb b/utilities/release-tools/licenser.rb index 9daba137..e6254b25 100644 --- a/utilities/release-tools/licenser.rb +++ b/utilities/release-tools/licenser.rb @@ -439,8 +439,10 @@ if File.expand_path($0) == File.expand_path(__FILE__) l.report if l.success? - return 0 + puts "Licenser was successful." + exit 0 else - return 1 + puts "Licenser found problems." + exit 1 end end