From 08ea6945fae6db90de29f5d9d669add69ef15753 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 18 Jan 2016 17:24:08 +1100 Subject: [PATCH] Added empty text for getresolution --- fetch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fetch b/fetch index d3b2d15e..f9e6929f 100755 --- a/fetch +++ b/fetch @@ -687,11 +687,9 @@ getresolution () { resolution=$(system_profiler SPDisplaysDataType |\ awk '/Resolution:/ {print $2"x"$4" "}') ;; - - *) - resolution="Unknown" - ;; esac + + [ -z "$resolution" ] && resolution="Unknown" } getgtk () {