diff options
Diffstat (limited to 'xuname')
-rwxr-xr-x | xuname | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xuname b/xuname index 065e3c0..8e06da4 100755 --- a/xuname +++ b/xuname @@ -6,7 +6,7 @@ KVER=$(uname -r) MACH=$(xbps-uhelper arch) OUTDATED=$(xbps-install -Mun) HOLD=$(xbps-query -H) -VM=$(dmesg | awk '/Hypervisor detected/{print $NF}') +VM=$(dmesg 2>/dev/null | awk '/Hypervisor detected/{print $NF}') CPU=$(cat /proc/cpuinfo |awk '/^vendor_id/{print $NF;exit}') REPO=$(xbps-query --regex -p repository -s '.' | cut -d/ -f2- | sort -u | awk ' /^\/alpha.de.repo.voidlinux.org\/current\/multilib/ {m=m"m"} |