Closed TanmayPatil105 closed 1 year ago
The issue if with getOS
function.
In getOS
function we are parsing after the string between double quotes.
But the /etc/os-release
file contains a single quote.
[txnmxy@txnmxy src]$ cat /etc/os-release
NAME='EndeavourOS'
PRETTY_NAME='EndeavourOS
Instead of printing ascii art of
EndeavourOS
it printsDefault
ascii art.Output:
Contents of
/etc/os-release