Added empty text for getresolution

This commit is contained in:
Dylan 2016-01-18 17:24:08 +11:00
parent 10be9f4759
commit 08ea6945fa

6
fetch
View file

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