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
|
||||
return 50
|
||||
fi
|
||||
if ! [ -x "$1" ]; then
|
||||
warn "Target is disabled: $1" 2
|
||||
return 51
|
||||
fi
|
||||
local firstline
|
||||
while read -r checkline; do
|
||||
if [ -z "$firstline" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user