]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Fix a syntax error
authorAndrew Ruthven <andrew@etc.gen.nz>
Fri, 11 Jan 2019 11:25:08 +0000 (00:25 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Fri, 11 Jan 2019 11:25:08 +0000 (00:25 +1300)
bin/mythtv-update-motd

index ac2df1838ca46ab046c229232da6edbc555a71a6..b03bb2183fdd36ffff314851093f4f2d02bef44f 100755 (executable)
@@ -37,7 +37,7 @@ else
 
   if [ -f /etc/os-release ]
   then
-    DISTRO=(grep ^ID= /etc/os-release | awk -F= '{ print $2 }')
+    DISTRO=$(grep ^ID= /etc/os-release | awk -F= '{ print $2 }')
   else
     DISTRO='unknown'
   fi