Skip to content

Commit ef29728

Browse files
authored
Updated configure-liveness-readiness-startup-probes.md
We don't need to pass -r flag with rm command to delete a file.
1 parent 3a46ff7 commit ef29728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ and restarts it.
5959
When the container starts, it executes this command:
6060

6161
```shell
62-
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600"
62+
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600"
6363
```
6464

6565
For the first 30 seconds of the container's life, there is a `/tmp/healthy` file.

0 commit comments

Comments
 (0)