From 5749658b53f10004e741af9d72d5d761b3764140 Mon Sep 17 00:00:00 2001 From: "Mr. Packman" <99031872+PackmanDude@users.noreply.github.com> Date: Tue, 4 Oct 2022 12:49:21 +0300 Subject: [PATCH] test: update condition example description (#8594) --- pages/common/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/test.md b/pages/common/test.md index a4da0599c..35e84e066 100644 --- a/pages/common/test.md +++ b/pages/common/test.md @@ -20,6 +20,6 @@ `test ! -d "{{path/to/directory}}"` -- If-else statement: +- If A is true, then do B, or C in the case of an error (notice that C may run even if A fails): `test {{condition}} && {{echo "true"}} || {{echo "false"}}`