From ef297288fa7dbf9ac0b3a0d1efda28116bf2fdc1 Mon Sep 17 00:00:00 2001 From: Amit Sharma Date: Sat, 12 Mar 2022 14:13:06 +0530 Subject: [PATCH] Updated configure-liveness-readiness-startup-probes.md We don't need to pass -r flag with rm command to delete a file. --- .../configure-liveness-readiness-startup-probes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md b/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md index f0fefe975a..6762acad34 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md +++ b/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md @@ -59,7 +59,7 @@ and restarts it. When the container starts, it executes this command: ```shell -/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600" +/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600" ``` For the first 30 seconds of the container's life, there is a `/tmp/healthy` file.