Skip to content

Commit

Permalink
restore_ds_file on bash remediate
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrubovics committed Nov 8, 2023
1 parent 66f90ed commit bc93cc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/oscap_tests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,7 @@ sub oscap_remediate {
}
# If doing bash remediation
else {
restore_ds_file();
my $remediate_cmd = "oscap xccdf eval --profile $profile_ID --remediate --oval-results --report $f_report $f_ssg_ds > $f_stdout 2> $f_stderr";
my $ret
= script_run("$remediate_cmd", timeout => 3200);
Expand Down

0 comments on commit bc93cc7

Please sign in to comment.