fix distro name

This commit is contained in:
Dustin Kirkland 2023-12-23 15:10:25 -06:00
commit f3ec913808
2 changed files with 9 additions and 2 deletions

View file

@ -322,7 +322,7 @@ get_distro() {
;;
*)
# assume first field is what we want
distro="${issue%% *}";
distro="${distro%% *}";
;;
esac
elif [ -r "/etc/issue" ]; then