summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-05 10:12:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-05 10:12:20 +0000
commit29b39e2259758fcbb342d47d5f36f22dba732bb9 (patch)
treea0254a71ba19aeffa8747cf2f4bcf0e7c4709cc0 /usr.sbin/pkg_add/OpenBSD
parent4a7bf323cacc310ea285c0215de15738baec2901 (diff)
cosmetic
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
index df4e752b3a8..63918f53bc8 100644
--- a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
+++ b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: ProgressMeter.pm,v 1.22 2009/11/24 10:29:25 espie Exp $
+# $OpenBSD: ProgressMeter.pm,v 1.23 2009/12/05 10:12:19 espie Exp $
#
# Copyright (c) 2004-2007 Marc Espie <espie@openbsd.org>
#
@@ -156,7 +156,7 @@ sub next
$self->clear;
$todo //= 0;
- print "$header: ok", $todo ? " ($todo to go)" : "", "\n";
+ print "$header: ok", $todo > 0 ? " ($todo to go)" : "", "\n";
}