summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Chain <g@0xff.cl>2008-01-05 15:35:30 -0600
committerDan McGee <dan@archlinux.org>2008-01-05 16:44:43 -0600
commit728b601f7b6df40b77bc5a4fc2dee5c1b1162fc4 (patch)
treed1d517573ffab15fb0f41e80a9be7458ed122931
parentf35a5cf174ff6bc264cbd44110e9d595acc87947 (diff)
downloadpacman-728b601f7b6df40b77bc5a4fc2dee5c1b1162fc4.tar.xz
scripts: extra exit() calls in usage() function
Remove the exit() calls from usage as they should be handled by the caller. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/gensync.sh.in1
-rw-r--r--scripts/updatesync.sh.in1
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/gensync.sh.in b/scripts/gensync.sh.in
index 13117ccd..b49c26ee 100644
--- a/scripts/gensync.sh.in
+++ b/scripts/gensync.sh.in
@@ -44,7 +44,6 @@ note: The <destfile> name is important. It must be of the form\n\
generated database must reside in the same directory as your\n\
custom packages (also configured in /etc/pacman.conf)\n\n")"
echo "$(gettext "Example: gensync /var/abs/local /home/mypkgs/custom.db.tar.gz")"
- exit 0
}
version() {
diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in
index 0cf18c7c..2e47ac94 100644
--- a/scripts/updatesync.sh.in
+++ b/scripts/updatesync.sh.in
@@ -43,7 +43,6 @@ directory and then compresses it to <destfile>.\n\n")"
updatesync will calculate md5sums of packages in the same directory as\n\
<destfile>, unless an alternate [package_directory] is specified.\n\n")"
echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
- exit 0
}
version() {