Fix problematic code to correctly represent the bad practice

Niklas Seyfarth
2025-01-17 16:23:33 +01:00
parent 9686369d81
commit b72ba83675

@@ -3,7 +3,7 @@
### Problematic code:
```sh
if [ "$(find . | grep 'IMG[0-9]')" ]
if [ -n "$(find . | grep 'IMG[0-9]')" ]
then
echo "Images found"
fi