From 1977888b18f5271299a92bfe6b0d60195c6d36ad Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Tue, 12 Jul 2016 14:28:11 +0100 Subject: [PATCH] diagnostics: Don't check for transfused on Windows Signed-off-by: Rolf Neugebauer --- alpine/packages/diagnostics/diagnostics | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/alpine/packages/diagnostics/diagnostics b/alpine/packages/diagnostics/diagnostics index da06ad584..3c5c56f71 100755 --- a/alpine/packages/diagnostics/diagnostics +++ b/alpine/packages/diagnostics/diagnostics @@ -10,8 +10,11 @@ DEV=$(mount | grep '/dev/[sxv]da. on /var type') [ $? -eq 0 ] && printf "✓ Drive mounted: $DEV\n" || printf "✗ No drive mounted\n" INET=$(ifconfig eth0 2> /dev/null | grep 'inet addr') [ $? -eq 0 ] && printf "✓ Network connected: $INET\n" || printf "✗ No network connection\n" -FUSE=$(ps -eo args | grep '^/sbin/transfused') -[ $? -eq 0 ] && printf "✓ Process transfused running\n" || printf "✗ No transfused process\n" +if [ ! -d /sys/bus/vmbus ] +then + FUSE=$(ps -eo args | grep '^/sbin/transfused') + [ $? -eq 0 ] && printf "✓ Process transfused running\n" || printf "✗ No transfused process\n" +fi if [ -d /sys/bus/vmbus ] then TAPVS=$(ps -eo args | grep '^/sbin/tap-vsockd')