[pacman-dev] [PATCH 2/2] pacman-key: return $ret, not errors

Dave Reisner d at falconindy.com
Tue Jul 19 14:28:53 EDT 2011


fixes: /usr/bin/pacman-key: line 286: return: errors: numeric argument required

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---

 scripts/pacman-key.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index b478b23..6c3c471 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -159,7 +159,7 @@ verify_keyring_input() {
 		fi
 	fi
 
-	return errors
+	return $ret
 }
 
 reload_keyring() {
-- 
1.7.6



More information about the pacman-dev mailing list