Permalink
Browse files

fixed incorrect error states which will cause makepkg to bail

  • Loading branch information...
graysky2 committed Dec 3, 2012
1 parent b41e6a5 commit 9620ab93d11c74b51aaca7a45bb37f30a552015b
Showing with 4 additions and 4 deletions.
  1. +4 −4 modprobed_db
View
@@ -15,7 +15,7 @@
# 2) A very convenient space separated file you can simple cat into a modprobe line
# prior to a kernel build: /var/log/modprobe.long
#
-VERS="2.11"
+VERS="2.12"
export BLD="\e[01m" RED="\e[01;31m" GRN="\e[01;32m" YLW="\e[01;33m" NRM="\e[00m"
echo -e "${RED}Modprobed_db v$VERS${NRM}"
@@ -97,11 +97,11 @@ case $1 in
l|L|List|list)
echo -e ${BLD}"Attempting to list contents of database..."${NRM}
list
- exit 1
+ exit 0
;;
r|R|Recall|recall)
recall
- exit 1
+ exit 0
;;
s|S|Store|store)
store
@@ -110,5 +110,5 @@ case $1 in
*)
echo -e ${BLD}"$0${NRM}${GRN} {list|recall|store}"${NRM}
echo -e ${BLD}"See manpage for additional details"${NRM}
- exit 1
+ exit 0
esac

0 comments on commit 9620ab9

Please sign in to comment.