summaryrefslogtreecommitdiffstats
path: root/lib/output.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output.sh')
-rw-r--r--lib/output.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/output.sh b/lib/output.sh
index 9d08759..2d11fe7 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -24,8 +24,7 @@
## of \fIformat\fP.
## @operand arguments opt Arguments to be printed, as referenced by
## \fIformat\fP.
-## @return This function does not return. It causes the application to exit
-## with an exit status of 1.
+## @return Returns 0.
## @stderr This function prints the formatted message, preceded by the program
## name and "Error:", to stderr.
## @pure no This function causes the current shell to exit.
@@ -36,7 +35,7 @@ ob_error()
printf "$(_get_msg 'output_error_format')\n" "${0##*/}" "${@}" >&2
- exit 1
+ return 0
}
## @brief Print a warning message