fix some return code setting stuf that was no longer being used, and change name...
[monkeysphere.git] / src / monkeysphere-host
index 1b0de0cd7c4a60eec47af82d48eb663d3302da41..5e7a9312759f0e8e2772cd868d8a8c79d6eba57c 100755 (executable)
@@ -41,9 +41,6 @@ DATE=$(date -u '+%FT%T')
 # unset some environment variables that could screw things up
 unset GREP_OPTIONS
 
-# default return code
-RETURN=0
-
 ########################################################################
 # FUNCTIONS
 ########################################################################
@@ -315,7 +312,7 @@ case $COMMAND in
        ;;
 
     'version'|'v')
-       echo "$VERSION"
+       version
        ;;
 
     '--help'|'help'|'-h'|'h'|'?')
@@ -327,5 +324,3 @@ case $COMMAND in
 Type '$PGRM help' for usage."
         ;;
 esac
-
-exit "$RETURN"