Added empty text for getresolution

This commit is contained in:
Dylan 2016-01-18 17:24:08 +11:00
parent 10be9f4759
commit 08ea6945fa
1 changed files with 2 additions and 4 deletions

6
fetch
View File

@ -687,11 +687,9 @@ getresolution () {
resolution=$(system_profiler SPDisplaysDataType |\
awk '/Resolution:/ {print $2"x"$4" "}')
;;
*)
resolution="Unknown"
;;
esac
[ -z "$resolution" ] && resolution="Unknown"
}
getgtk () {