summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index ec143b5..5c7e971 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -658,7 +658,7 @@ function wrap {
function pkg_add {
if [[ -d $PDIR/$1 ]] {
info "Package '$1' is already installed!\n"
- return 100
+ exit 1
}
list_exists $1 || die "No such package: $1\n"
info "Retrieving package $1...\n"