aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-12-27 01:33:03 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-12-27 01:33:03 +0100
commitc19a6a3fc5d9f561e2f5ac905db794eb0fa71b2a (patch)
tree4e01e1ea0132d50cf19a77f3905db8c1c79a1644
parentc142732367dde6a2e350b33dfebbfbcd8bd891ce (diff)
downloadmitjafelicijan.com-c19a6a3fc5d9f561e2f5ac905db794eb0fa71b2a.tar.gz
Content fix
-rw-r--r--posts/2021-12-25-running-golang-application-as-pid1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/posts/2021-12-25-running-golang-application-as-pid1.md b/posts/2021-12-25-running-golang-application-as-pid1.md
index 1eef97b..cfbf447 100644
--- a/posts/2021-12-25-running-golang-application-as-pid1.md
+++ b/posts/2021-12-25-running-golang-application-as-pid1.md
@@ -128,7 +128,7 @@ func main() {
128} 128}
129``` 129```
130 130
131If you notice, we have a forever loop in the main, with a simple sleep of 1 second to not overwhelm the CPU. 131If you notice, we have a forever loop in the main, with a simple sleep of 1 second to not overwhelm the CPU. This is because PID 1 should never complete and exit. That would result in kernel panic.
132 132
133There are two ways of compiling Golang application. Statically and dynamically. 133There are two ways of compiling Golang application. Statically and dynamically.
134 134