From 69907f6f8b0d4507e8834f6f4d7fe98f3b9499f6 Mon Sep 17 00:00:00 2001 From: walking-octopus <46994949+walking-octopus@users.noreply.github.com> Date: Sat, 30 Jul 2022 16:12:37 +0000 Subject: [PATCH] Fix the shellcheck error --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 898fb85c..fe8911bb 100755 --- a/neofetch +++ b/neofetch @@ -1125,7 +1125,8 @@ get_distro() { distro=${distro/NAME=} if [[ -f /usr/bin/system-image-cli ]]; then - export ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }'); + local ut_ota + ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }'); distro="Ubuntu Touch $ut_ota"; # There's a weird UT bug where the HOSTNAME is set to android.