diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-08-13 11:12:05 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-08-13 11:12:05 +0000 |
commit | 801215e17a52957bd94e627134dac35bc32c23c4 (patch) | |
tree | 83e63e3bb1e050a0f08f6a85d1a6436626886d75 /usr.sbin | |
parent | 3e343e216567f705b01082d35a5d55e03e2c4881 (diff) |
whitespace
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/AddDelete.pm | 6 | ||||
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm index 9e8d172cc23..08191d441e0 100644 --- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: AddDelete.pm,v 1.37 2010/07/12 09:31:52 espie Exp $ +# $OpenBSD: AddDelete.pm,v 1.38 2010/08/13 11:12:04 espie Exp $ # # Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org> # @@ -179,8 +179,8 @@ sub ntogo { my ($self, $offset) = @_; - return $self->{wantntogo} ? - $self->progress->ntogo($self, $offset) : + return $self->{wantntogo} ? + $self->progress->ntogo($self, $offset) : $self->f("ok"); } diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index 7c6914ad9a3..b06df338d8e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepository.pm,v 1.88 2010/07/27 09:09:43 espie Exp $ +# $OpenBSD: PackageRepository.pm,v 1.89 2010/08/13 11:12:04 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -531,7 +531,7 @@ sub open_pipe if ($pid) { $object->{pid} = $pid; } else { - open(STDIN, '<&', $rdfh) or + open(STDIN, '<&', $rdfh) or $self->{state}->fatal("Bad dup: #1", $!); close($rdfh); close($wrfh); @@ -546,7 +546,7 @@ sub open_pipe undef $SIG{'WINCH'}; undef $SIG{'CONT'}; open STDERR, '>', $object->{errors}; - open(STDOUT, '>&', $wrfh) or + open(STDOUT, '>&', $wrfh) or $self->{state}->fatal("Bad dup: #1", $!); close($rdfh); close($wrfh); |