Disable configs by marking them as nonexecuable
This commit is contained in:
parent
9bf854d22f
commit
0d641e3677
@ -79,6 +79,10 @@ gettarget() {
|
|||||||
warn "Target is a directory: $1" 2
|
warn "Target is a directory: $1" 2
|
||||||
return 50
|
return 50
|
||||||
fi
|
fi
|
||||||
|
if ! [ -x "$1" ]; then
|
||||||
|
warn "Target is disabled: $1" 2
|
||||||
|
return 51
|
||||||
|
fi
|
||||||
local firstline
|
local firstline
|
||||||
while read -r checkline; do
|
while read -r checkline; do
|
||||||
if [ -z "$firstline" ]; then
|
if [ -z "$firstline" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user