Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (804992a47899da8405481d4f3e8deb97c3a41b4a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (804992a47899da8405481d4f3e8deb97c3a41b4a)
  • Date: Thu, 23 Jun 2011 19:36:09 -0500

GIT changes to master cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

lib/liberror | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 804992a47899da8405481d4f3e8deb97c3a41b4a
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

lib/liberror: correct conditional test

Accidentally had a string comparison instead of an integer comparison.
It worked with the string comparison, but the test is now more accurate.

diff --git a/lib/liberror b/lib/liberror
index 561dc0b..fbd6fe4 100755
--- a/lib/liberror
+++ b/lib/liberror
@@ -89,7 +89,7 @@ function liberror_print_error() {
[[ -z "$errmsg" ]] && return 1

# print an OK message if the "error" is 0, otherwise print an error message
- if [[ "$error" == 0 ]]
+ if [[ "$error" -eq 0 ]]
then
# output using libcolor if available
if [[ "$(type -t libcolor_notice)" == "function" ]]



  • [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (804992a47899da8405481d4f3e8deb97c3a41b4a), Justin Boffemmyer, 06/23/2011

Archive powered by MHonArc 2.6.24.

Top of Page