diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-10-06 20:46:49 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-10-06 20:46:49 +0000 |
commit | e2029211aa9dbccecaf7c6727afd26b21d16b3b5 (patch) | |
tree | b5ebca46530e9893e542406e5cc340e1aac77388 /src/lib/Client/Redhat.py | |
parent | 7dfd1ec10cad6da7d78052b9bfff723026e53417 (diff) | |
download | bcfg2-e2029211aa9dbccecaf7c6727afd26b21d16b3b5.tar.gz bcfg2-e2029211aa9dbccecaf7c6727afd26b21d16b3b5.tar.bz2 bcfg2-e2029211aa9dbccecaf7c6727afd26b21d16b3b5.zip |
fix extra package removal
(Logical change 1.335)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1368 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Redhat.py')
-rw-r--r-- | src/lib/Client/Redhat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py index ee952c0fa..5d15ad192 100644 --- a/src/lib/Client/Redhat.py +++ b/src/lib/Client/Redhat.py @@ -118,7 +118,7 @@ class Redhat(Toolset): if len(self.pkgwork) > 0: if self.setup['remove'] in ['all', 'packages']: self.CondPrint('verbose', "Removing packages: %s" % self.pkgwork['remove']) - if not system("rpm -q -e %s" % " ".join(self.pkgwork['remove'])): + if not system("rpm --quiet -e %s" % " ".join(self.pkgwork['remove'])): self.pkgwork['remove'] = [] else: self.CondPrint('verbose', "Need to remove packages: %s" % self.pkgwork['remove']) |