1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:53:10 +02:00

test: update condition example description (#8594)

This commit is contained in:
Mr. Packman 2022-10-04 12:49:21 +03:00 committed by GitHub
parent 7c1c7b3266
commit 5749658b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"}}`