make script to execute ls -lL without failing as easily

This commit is contained in:
joshuaboud 2021-05-21 14:59:32 -03:00
parent 333696771e
commit 5e212d3682
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
ls -lL "$1"
if [[ "$?" != "2" ]]; then
exit 0
fi
exit 1