Unverified Commit d949ae16 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Fix TPM_PID file path

parent 6a4302f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ rm -f "$TPM_PID"
if [[ "$TPM" == [Yy1]* ]]; then

  { swtpm socket -t -d --tpmstate "backend-uri=file://$DEST.tpm" \
     --ctrl type=unixio,path=/run/swtpm-sock --pid file="$TPM_PID" --tpm2; rc=$?; } || :
     --ctrl type=unixio,path=/run/swtpm-sock --pid "file=$TPM_PID" --tpm2; rc=$?; } || :

  if (( rc != 0 )); then
    error "Failed to start TPM emulator, reason: $rc"