From 87ecc72d4a3689414c1cf53c755e190a008c802c Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 7 Apr 2025 17:40:56 +0200 Subject: [PATCH] Update proc.sh --- src/proc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/proc.sh b/src/proc.sh index 60796d7..de03b89 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -34,10 +34,10 @@ if [[ "$KVM" != [Nn]* ]]; then KVM_ERR="" if [ ! -e /dev/kvm ]; then - KVM_ERR="(device file missing)" + KVM_ERR="(/dev/kvm is missing)" else if ! sh -c 'echo -n > /dev/kvm' &> /dev/null; then - KVM_ERR="(no write access)" + KVM_ERR="(/dev/kvm is unwriteable)" fi fi @@ -53,8 +53,8 @@ if [[ "$KVM" != [Nn]* ]]; then *"synology"* ) error "Please make sure that Synology VMM (Virtual Machine Manager) is installed and that '/dev/kvm' is binded to this container." ;; *) - error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance." - error "See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended)." ;; + error "KVM acceleration is not available $KVM_ERR, this will cause a major loss of performance." + error "See the FAQ for possible causes, or continue without it by adding KVM: \"N\" (not recommended)." ;; esac [[ "$DEBUG" != [Yy1]* ]] && exit 88 fi