This commit is contained in:
espie 2013-01-05 15:13:48 +00:00
parent 9082a4801c
commit 779bfd4ae7

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: dpb,v 1.70 2013/01/05 13:34:28 espie Exp $
# $OpenBSD: dpb,v 1.71 2013/01/05 15:13:48 espie Exp $
#
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
#
@ -693,7 +693,7 @@ if ($state->{all}) {
if ($state->opt('f')) {
DPB::Distfile->dump($state->{logger});
}
if (!$state->define('NO_HISTORY')) {
if (!$state->defines('NO_HISTORY')) {
if ($state->grabber->expire_old_distfiles($core,
$state->opt('e'))) {
$occupied = 1;