diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 14:39:05 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 17:28:30 -0400 |
commit | 6092b9d93df1c3d5170a2b6aa0275aebef18bd37 (patch) | |
tree | 55627e026fa7f538f8085f0fb8ed1fffcce4fcbc /src/xbs-abslibre | |
parent | aedbebb0ea3c7b40dda987b43ff21475ef67f423 (diff) |
start moving things to use the libremessages exit codes
Diffstat (limited to 'src/xbs-abslibre')
-rwxr-xr-x | src/xbs-abslibre/helper-abslibre | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xbs-abslibre/helper-abslibre b/src/xbs-abslibre/helper-abslibre index 7ebed0a..78d36b0 100755 --- a/src/xbs-abslibre/helper-abslibre +++ b/src/xbs-abslibre/helper-abslibre @@ -34,7 +34,7 @@ unlockarch() { checkgit() { if [[ ! -d "${ABSLIBREDEST}/${arch}/.git" ]]; then error 'Not a git repository: %s' "${ABSLIBREDEST}/${arch}" - exit 1 + exit $EXIT_FAILURE fi } @@ -187,10 +187,10 @@ releasepath() { if [[ -f "${pkgdir}/PKGBUILD" ]]; then printf '%s\n' "$pkgdir" - return 0 + return $EXIT_SUCCESS fi - return 1 + return $EXIT_FAILURE } name() { |