diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2015-02-03 09:58:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2015-02-03 09:58:16 +0000 |
commit | 87d547b74f3a496e0b66a9278c1df4715f1720fc (patch) | |
tree | fd3687f7011eff9955b5751c45179ee52549b6d5 | |
parent | c3cd5643255f91e17f010ff6e27efe0a34af8d50 (diff) |
document the one non-intuitive test there, as I spent 5 mn looking at it
wondering... :)
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/FwUpdate.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm index 86c12d32951..199d16334eb 100644 --- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm +++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: FwUpdate.pm,v 1.12 2015/02/03 09:50:03 espie Exp $ +# $OpenBSD: FwUpdate.pm,v 1.13 2015/02/03 09:58:15 espie Exp $ # # Copyright (c) 2014 Marc Espie <espie@openbsd.org> # @@ -271,6 +271,7 @@ sub process_parameters $driver); } for my $driver ($state->installed_drivers) { + # XXX skip already done up there ^ next if $state->is_needed($driver); $self->to_add_or_update($state, $driver); |