aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 13:27:33 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 13:27:33 +0300
commit6fa9ec61ad9365548ad9a4b96c10d7c14e77b26b (patch)
tree112dccabcaa771e6ce11b5d52c9aa2de215bf52e
parentca69c0390cd4094f46071b9a23cb4dce0c1bba75 (diff)
downloadpfetch-6fa9ec61ad9365548ad9a4b96c10d7c14e77b26b.tar.gz
pfetch: escape control chars
-rwxr-xr-xpfetch8
1 files changed, 4 insertions, 4 deletions
diff --git a/pfetch b/pfetch
index ae9432c..de06e96 100755
--- a/pfetch
+++ b/pfetch
@@ -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