syspatch: Check for apply=no condition (#65350)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/65398/head
Abhijeet Kasurde 5 years ago committed by GitHub
parent 38193f6b60
commit 0d34a2ecee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,9 @@ def syspatch_run(module):
reboot_needed = False
warnings = []
# Setup command flags
# Set safe defaults for run_flag and check_flag
run_flag = ['-c']
check_flag = ['-c']
if module.params['revert']:
check_flag = ['-l']

Loading…
Cancel
Save