changed double bracket

This commit is contained in:
Andrew Titmuss 2016-06-14 17:04:22 +10:00
parent 1d6f99b0d4
commit 47a850a305
No known key found for this signature in database
GPG Key ID: 8AF42975C787E0B2
1 changed files with 1 additions and 1 deletions

View File

@ -1538,7 +1538,7 @@ getresolution () {
awk '/Resolution:/ {printf $2"x"$4" @ "$6"Hz, "}')"
fi
[[ "$refresh_rate" == "off" ]] || [[ "${resolution// * @ }" == "0Hz" ]] && \
[[ "$refresh_rate" == "off" ]] || [ "${resolution// * @ }" == "0Hz" ] && \
resolution="${resolution// @ *[0-9]Hz}"
;;