Change elsif to elif
This commit is contained in:
parent
15b41590f3
commit
358ac34980
2
bash.md
2
bash.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue