From 527a87da9c58117685f44c5edeb5df46c71d941c Mon Sep 17 00:00:00 2001 From: Deezzir Date: Thu, 17 Oct 2024 11:07:31 -0400 Subject: [PATCH] Update return code --- snap/local/files/run_dcgmproftester.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/local/files/run_dcgmproftester.sh b/snap/local/files/run_dcgmproftester.sh index 54b73b9..1f4282b 100755 --- a/snap/local/files/run_dcgmproftester.sh +++ b/snap/local/files/run_dcgmproftester.sh @@ -4,7 +4,7 @@ set -euo pipefail # The wrapper is needed so the build does not fail on ARM, as there is no dcgmproftester10 in the ARM DCGM deb package if [[ "$1" != "10" && "$1" != "11" && "$1" != "12" ]]; then - exit 1 + exit 127 fi BINARY="$SNAP/usr/bin/dcgmproftester$1"