From: Kevin Day Date: Sun, 8 Jun 2025 23:48:11 +0000 (-0500) Subject: Cleanup: Add unset main at the end of the example process scripts. X-Git-Tag: 0.7.2~14 X-Git-Url: https://www.git.kevux.org/?a=commitdiff_plain;h=42604cfc6e87d1715b02a0a7a17ca8d0108c3d41;p=fll Cleanup: Add unset main at the end of the example process scripts. --- 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 ${*}