diff --git a/etc/profile.d/20_kde_screen_locker_disable_in_vms.sh b/etc/profile.d/20_kde_screen_locker_disable_in_vms.sh index d84eb12..0833a53 100755 --- a/etc/profile.d/20_kde_screen_locker_disable_in_vms.sh +++ b/etc/profile.d/20_kde_screen_locker_disable_in_vms.sh @@ -16,7 +16,7 @@ if [ "$XDG_SESSION_TYPE" = "tty" ]; then fi if command -v systemd-detect-virt >/dev/null ; then - result="$(systemd-detect-virt)" + result="$(systemd-detect-virt 2>&1)" else true "$0: INFO: systemd-detect-virt not found. Stop." return 0 diff --git a/etc/profile.d/20_power_savings_disable_in_vms.sh b/etc/profile.d/20_power_savings_disable_in_vms.sh index 986bcdc..4126a62 100755 --- a/etc/profile.d/20_power_savings_disable_in_vms.sh +++ b/etc/profile.d/20_power_savings_disable_in_vms.sh @@ -15,7 +15,7 @@ if test -f /usr/share/qubes/marker-vm ; then fi if command -v systemd-detect-virt >/dev/null ; then - result="$(systemd-detect-virt)" + result="$(systemd-detect-virt 2>&1)" else $output_cmd "$0: INFO: systemd-detect-virt not executable found. Stop." return 0 diff --git a/etc/profile.d/20_software_rendering_in_vms.sh b/etc/profile.d/20_software_rendering_in_vms.sh index bab3480..7d6d1a7 100755 --- a/etc/profile.d/20_software_rendering_in_vms.sh +++ b/etc/profile.d/20_software_rendering_in_vms.sh @@ -4,7 +4,7 @@ ## See the file COPYING for copying conditions. if command -v systemd-detect-virt >/dev/null ; then - result="$(systemd-detect-virt)" + result="$(systemd-detect-virt 2>&1)" ## result example: ## oracle else