Skip to content

Commit

Permalink
fixed incorrect error states which will cause makepkg to bail
Browse files Browse the repository at this point in the history
  • Loading branch information
graysky2 committed Dec 3, 2012
1 parent b41e6a5 commit 9620ab9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modprobed_db
Expand Up @@ -15,7 +15,7 @@
# 2) A very convenient space separated file you can simple cat into a modprobe line # 2) A very convenient space separated file you can simple cat into a modprobe line
# prior to a kernel build: /var/log/modprobe.long # 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" 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}" echo -e "${RED}Modprobed_db v$VERS${NRM}"
Expand Down Expand Up @@ -97,11 +97,11 @@ case $1 in
l|L|List|list) l|L|List|list)
echo -e ${BLD}"Attempting to list contents of database..."${NRM} echo -e ${BLD}"Attempting to list contents of database..."${NRM}
list list
exit 1 exit 0
;; ;;
r|R|Recall|recall) r|R|Recall|recall)
recall recall
exit 1 exit 0
;; ;;
s|S|Store|store) s|S|Store|store)
store store
Expand All @@ -110,5 +110,5 @@ case $1 in
*) *)
echo -e ${BLD}"$0${NRM}${GRN} {list|recall|store}"${NRM} echo -e ${BLD}"$0${NRM}${GRN} {list|recall|store}"${NRM}
echo -e ${BLD}"See manpage for additional details"${NRM} echo -e ${BLD}"See manpage for additional details"${NRM}
exit 1 exit 0
esac esac

0 comments on commit 9620ab9

Please sign in to comment.