diff options
-rwxr-xr-x | src/abslibre-tools/librerelease | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index fab7c52..ed7f70c 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -76,7 +76,8 @@ create_signature() { if (( ! ret )); then msg2 "$(gettext "Created signature file %s.")" "$filename.sig" else - warning "$(gettext "Failed to sign package file.")" + error "$(gettext "Failed to sign package file.")" + return $ret fi } @@ -167,7 +168,7 @@ function release_packages { fi clean_non_packages - sign_packages + sign_packages || return 1 # Make the permissions of the packages 644 otherwise the user will get access # denied error when they try to download (rsync --no-perms doesn't seem to |