pfetch: escape control chars

This commit is contained in:
Dylan Araps 2019-09-24 13:27:33 +03:00
parent ca69c0390c
commit 6fa9ec61ad

8
pfetch
View File

@ -258,10 +258,10 @@ main() {
# Disable warning about unused variables.
# shellcheck disable=2034
{
c1=; c2=
c3=; c4=
c5=; c6=
c7=; c8=
c1=''; c2=''
c3=''; c4=''
c5=''; c6=''
c7=''; c8=''
}
# Store the output of 'uname' to avoid calling it multiple times