From 5fadec09dcd44c4dcad657a0f3d96878b592b77b Mon Sep 17 00:00:00 2001
From: Jameson Graef Rollins <jrollins@phys.columbia.edu>
Date: Thu, 10 Jul 2008 14:30:21 -0400
Subject: Update man pages, and tweak default error return code.

---
 src/common | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/common')

diff --git a/src/common b/src/common
index 5d43fa4..240de38 100644
--- a/src/common
+++ b/src/common
@@ -20,14 +20,10 @@ export ETC
 ########################################################################
 ### UTILITY FUNCTIONS
 
-error() {
-    log "$1"
-    ERR=${2:-'1'}
-}
-
+# failure function.  exits with code 255, unless specified otherwise.
 failure() {
     echo "$1" >&2
-    exit ${2:-'1'}
+    exit ${2:-'255'}
 }
 
 # write output to stderr
-- 
cgit v1.2.3