This is seriously lame I know but...Im pulling my hair out on it.
Basically I Have this code:
getDisplayName(){
echo Display Name: $(/opt/vc/bin/tvservice -n)
}
It returns this:
[E] No device present
Display Name:
I would expect it to be:
Display Name: [E] No Device Present
What am I missing?
TIA Ron