Fix syntax error in validate_binary function
This commit is contained in:
parent
fd60e4425b
commit
fd028ca591
2
start.sh
2
start.sh
@ -169,7 +169,7 @@ validate_binary() {
|
|||||||
if ! file "$file" | grep -q -E "ELF|Mach-O"; then
|
if ! file "$file" | grep -q -E "ELF|Mach-O"; then
|
||||||
echo "FALSE: File is not a valid executable binary"
|
echo "FALSE: File is not a valid executable binary"
|
||||||
return 1
|
return 1
|
||||||
}
|
fi
|
||||||
|
|
||||||
# Looks good
|
# Looks good
|
||||||
echo "TRUE: Valid binary"
|
echo "TRUE: Valid binary"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user