From 6092b9d93df1c3d5170a2b6aa0275aebef18bd37 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 25 May 2017 14:39:05 -0400 Subject: start moving things to use the libremessages exit codes --- src/abslibre-tools/libreaddiff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/abslibre-tools/libreaddiff') diff --git a/src/abslibre-tools/libreaddiff b/src/abslibre-tools/libreaddiff index 9336198..c97ab7c 100755 --- a/src/abslibre-tools/libreaddiff +++ b/src/abslibre-tools/libreaddiff @@ -37,13 +37,13 @@ main() { while getopts 'h' arg; do case "$arg" in - h) usage; exit 0 ;; - *) usage >&2; exit 2 ;; + h) usage; exit $EXIT_SUCCESS ;; + *) usage >&2; exit $EXIT_INVALIDARGUMENT ;; esac done if [[ $# -ne 1 ]] && [[ $# -ne 2 ]]; then usage >&2 - exit 2 + exit $EXIT_INVALIDARGUMENT fi # The repo to find missing packages in. -- cgit v1.2.3-54-g00ecf