summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Vstat.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:40:21 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:40:21 +0000
commitb507bb21d44e06545375ecc3670c25c7d627b66c (patch)
treefee90f3c9670b67ced17adcd588c47d018a01b02 /usr.sbin/pkg_add/OpenBSD/Vstat.pm
parenta02b0ab1d25f9bc09553560af9423058dc820a74 (diff)
don't use 0 as an error number.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Vstat.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Vstat.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
index b0bb20e4ad7..6ec2a02bc25 100644
--- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Vstat.pm,v 1.28 2007/05/28 13:00:05 espie Exp $
+# $OpenBSD: Vstat.pm,v 1.29 2007/05/29 10:40:20 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -272,10 +272,10 @@ sub cleanup
package OpenBSD::Handle;
use constant {
- NOT_FOUND => 0,
BAD_PACKAGE => 1,
CANT_INSTALL => 2,
- ALREADY_INSTALLED => 3
+ ALREADY_INSTALLED => 3,
+ NOT_FOUND => 4
};
sub new