Skip to content

Commit fef1619

Browse files
orthograph + mixed tabs/spaces fix
1 parent 07412d0 commit fef1619

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/SCE/sce_engine.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ xccdf_test_result_type_t sce_engine_eval_rule(struct xccdf_policy *policy, const
384384
{
385385
// use the sce wrapper if it's not possible to acquire +x rights
386386
use_sce_wrapper = true;
387-
dI("%s isn't executable, oscap-run-sce-script will be use.", tmp_href);
387+
dI("%s isn't executable, oscap-run-sce-script will be used.", tmp_href);
388388
}
389389

390390
// all the result codes are shifted by 100, because otherwise syntax errors in scripts
@@ -515,7 +515,6 @@ xccdf_test_result_type_t sce_engine_eval_rule(struct xccdf_policy *policy, const
515515

516516
if (fork_result == 0)
517517
{
518-
519518
// we won't read from the pipes, so close the reading fd
520519
close(stdout_pipefd[0]);
521520
close(stderr_pipefd[0]);
@@ -544,7 +543,7 @@ xccdf_test_result_type_t sce_engine_eval_rule(struct xccdf_policy *policy, const
544543
if(use_sce_wrapper)
545544
execvpe("oscap-run-sce-script", argvp, env_values);
546545
else
547-
execve(tmp_href, argvp, env_values);
546+
execve(tmp_href, argvp, env_values);
548547

549548
free_env_values(env_values, index_of_first_env_value_not_compiled_in, env_value_count);
550549

0 commit comments

Comments
 (0)