Change elsif to elif

This commit is contained in:
Simone Stefani 2017-10-28 22:42:13 +02:00
parent 15b41590f3
commit 358ac34980
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ See: [Functions](#functions)
```bash ```bash
if [ -z "$string" ]; then if [ -z "$string" ]; then
echo "String is empty" echo "String is empty"
elsif [ -n "$string" ]; then elif [ -n "$string" ]; then
echo "String is not empty" echo "String is not empty"
fi fi
``` ```