Fixed Typo's in DistroInventory.sh and relead functions

This commit is contained in:
2023-11-19 23:05:14 +01:00
parent ea8cf5b3d7
commit 1ad843d62a
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ if $CheckVM; then
NAME=$(pct config $ID | grep hostname |sed 's/hostname: //')
if [ $STATUS == "running" ]; then OSRELEASE=$(pct exec $ID -- cat /etc/os-release);fi
ParseOSRelease
unset OSRELEASE TYPE ID NAME STATUS DISTRO VERSION
unset OSRELEASE ID NAME STATUS DISTRO VERSION
done
unset TYPE
fi
@@ -41,7 +41,7 @@ if $CheckCT; then
NAME=$(qm config $ID | grep name |sed 's/name: //')
if [ $STATUS == "running" ]; then OSRELEASE=$(qm guest exec 2002 -- cat /etc/os-release |jq -r '.["out-data"]')
ParseOSRelease
unset OSRELEASE TYPE ID NAME STATUS DISTRO VERSION
unset OSRELEASE ID NAME STATUS DISTRO VERSION
done
unset TYPE
fi