summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/RPMng.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/RPMng.py b/src/lib/Client/Tools/RPMng.py
index b73a4ee73..b1f4c087e 100644
--- a/src/lib/Client/Tools/RPMng.py
+++ b/src/lib/Client/Tools/RPMng.py
@@ -123,7 +123,7 @@ class RPMng(Bcfg2.Client.Tools.PkgTool):
self.logger.debug('version_fail_action = %s' % self.version_fail_action)
# Force a re- prelink of all packages if prelink exists.
# Many, if not most package verifies can be caused by out of date prelinking.
- if os.path.isfile('/usr/sbin/prelink'):
+ if os.path.isfile('/usr/sbin/prelink') and not self.setup['dryrun']:
cmdrc, output = self.cmd.run('/usr/sbin/prelink -a -mR')
if cmdrc == 0:
self.logger.debug('Pre-emptive prelink succeeded')