aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
Diffstat (limited to 'posts')
-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