summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.c')
-rw-r--r--src/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.c b/src/errors.c
index 2c5d147a5..ca405b172 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -124,7 +124,7 @@ skip_due_to_hold(struct pkginfo *pkg)
{
if (pkg->want != PKG_WANT_HOLD)
return false;
- if (fc_hold) {
+ if (in_force(FORCE_HOLD)) {
notice(_("package %s was on hold, processing it anyway as you requested"),
pkg_name(pkg, pnaw_nonambig));
return false;