Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/repo-add.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 7680d315..cab5e048 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -547,8 +547,8 @@ prepare_repo_db() {
# TODO: remove if statement
if [[ $repo == "db" ]]; then
error "$(gettext "Repository file '%s' was not found.")" "$dbfile"
+ exit 1
fi
- exit 1
;;
repo-add)
# check if the file can be created (write permission, directory existence, etc)