From f6e9ad855e966e8c8381069a44af324b1c3e2c0e Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 29 Oct 2004 19:17:41 +0000 Subject: fix package removal case (Logical change 1.124) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@560 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sbin') diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index 2e335487b..23f5bd4e0 100644 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -105,7 +105,9 @@ if __name__ == '__main__': correct = client.states.values().count(True) total = len(client.states.values()) - if correct < total: + if ((correct < total) or client.pkgwork['remove']): + if client.pkgwork['remove']: + client.CondPrint('verbose', "Extra packages detected") # summarize current state client.CondPrint('verbose', "--> %s of %s config elements correct" % (correct, total)) -- cgit v1.2.3-1-g7c22