]> Kevux Git Server - fll/commitdiff
Cleanup: Add unset main at the end of the example process scripts.
authorKevin Day <Kevin@kevux.org>
Sun, 8 Jun 2025 23:48:11 +0000 (18:48 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 8 Jun 2025 23:48:11 +0000 (18:48 -0500)
level_3/fake/data/projects/go/example_go/data/build/process_post.sh
level_3/fake/data/projects/go/example_go/data/build/process_pre.sh

index a5fc4d8..b9b5460 100755 (executable)
@@ -3,6 +3,7 @@
 main() {
   local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope.
 
+  unset main
 }
 
 main ${*}
index a5fc4d8..b9b5460 100755 (executable)
@@ -3,6 +3,7 @@
 main() {
   local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope.
 
+  unset main
 }
 
 main ${*}