From a47a5de21092f49517a1f78676efe5dea14e0403 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 21 Sep 2022 00:12:56 -0400 Subject: [PATCH] Fix indentation --- webodm.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webodm.sh b/webodm.sh index 88de4bc9..e0be8926 100755 --- a/webodm.sh +++ b/webodm.sh @@ -186,13 +186,13 @@ detect_gpus(){ return fi NVIDIA_DEVICE=$(nvidia-smi -L | grep "GPU 0:" | awk -F ': ' '{print $2}' | awk -F '(' '{print $1}') - #IF the NVIDIA_DEVICE has the word NVIDIA in it, then enable NVIDIA - if [[ $NVIDIA_DEVICE == *"NVIDIA"* ]]; then - echo "GPU_NVIDIA has been found" - export GPU_NVIDIA=true - set -e - return - fi + #IF the NVIDIA_DEVICE has the word NVIDIA in it, then enable NVIDIA + if [[ $NVIDIA_DEVICE == *"NVIDIA"* ]]; then + echo "GPU_NVIDIA has been found" + export GPU_NVIDIA=true + set -e + return + fi if lspci | grep "VGA.*Intel"; then echo "GPU_INTEL has been found"