From 42604cfc6e87d1715b02a0a7a17ca8d0108c3d41 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 8 Jun 2025 18:48:11 -0500 Subject: [PATCH] Cleanup: Add unset main at the end of the example process scripts. --- level_3/fake/data/projects/go/example_go/data/build/process_post.sh | 1 + level_3/fake/data/projects/go/example_go/data/build/process_pre.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/level_3/fake/data/projects/go/example_go/data/build/process_post.sh b/level_3/fake/data/projects/go/example_go/data/build/process_post.sh index a5fc4d8..b9b5460 100755 --- a/level_3/fake/data/projects/go/example_go/data/build/process_post.sh +++ b/level_3/fake/data/projects/go/example_go/data/build/process_post.sh @@ -3,6 +3,7 @@ main() { local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope. + unset main } main ${*} diff --git a/level_3/fake/data/projects/go/example_go/data/build/process_pre.sh b/level_3/fake/data/projects/go/example_go/data/build/process_pre.sh index a5fc4d8..b9b5460 100755 --- a/level_3/fake/data/projects/go/example_go/data/build/process_pre.sh +++ b/level_3/fake/data/projects/go/example_go/data/build/process_pre.sh @@ -3,6 +3,7 @@ main() { local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope. + unset main } main ${*} -- 1.8.3.1