mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 00:24:52 +02:00
make script to execute ls -lL without failing as easily
This commit is contained in:
parent
333696771e
commit
5e212d3682
8
navigator/scripts/ls-no-fail.sh
Executable file
8
navigator/scripts/ls-no-fail.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ls -lL "$1"
|
||||
|
||||
if [[ "$?" != "2" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
exit 1
|
Loading…
x
Reference in New Issue
Block a user