Merge pull request #155 from proger/which-hostapd

wrap -x into [[ ]]
This commit is contained in:
oblique
2016-04-13 22:35:18 +03:00

View File

@ -1294,7 +1294,7 @@ fi
HOSTAPD=$(which hostapd)
if ! -x "$HOSTAPD"; then
if [[ ! -x "$HOSTAPD" ]]; then
echo "ERROR: hostapd not found." >&2
exit 1
fi