summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2020-01-28 16:00:24 +0000
committerespie <espie@openbsd.org>2020-01-28 16:00:24 +0000
commita298a0f0673b1bbf3f54dc080e73cb81f5ea0299 (patch)
tree0ff728131a089d97f504f6860588ad7c93372a5e /usr.sbin/pkg_add
parentSimplify statement rules by using an optional new line. (diff)
downloadwireguard-openbsd-a298a0f0673b1bbf3f54dc080e73cb81f5ea0299.tar.xz
wireguard-openbsd-a298a0f0673b1bbf3f54dc080e73cb81f5ea0299.zip
banish implicit return
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/State.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/State.pm b/usr.sbin/pkg_add/OpenBSD/State.pm
index c38ffa38dc4..676acea307f 100644
--- a/usr.sbin/pkg_add/OpenBSD/State.pm
+++ b/usr.sbin/pkg_add/OpenBSD/State.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: State.pm,v 1.63 2019/12/04 10:45:19 espie Exp $
+# $OpenBSD: State.pm,v 1.64 2020/01/28 16:00:24 espie Exp $
#
# Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org>
#
@@ -23,7 +23,7 @@ package OpenBSD::PackageRepositoryFactory;
sub new
{
my ($class, $state) = @_;
- bless {state => $state}, $class;
+ return bless {state => $state}, $class;
}
sub locator