From 728b601f7b6df40b77bc5a4fc2dee5c1b1162fc4 Mon Sep 17 00:00:00 2001 From: Gustavo Chain Date: Sat, 5 Jan 2008 15:35:30 -0600 Subject: 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 --- scripts/gensync.sh.in | 1 - scripts/updatesync.sh.in | 1 - 2 files changed, 2 deletions(-) (limited to 'scripts') 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 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 .\n\n")" updatesync will calculate md5sums of packages in the same directory as\n\ , unless an alternate [package_directory] is specified.\n\n")" echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")" - exit 0 } version() { -- cgit v1.2.3-70-g09d2