Skip to content

Commit 79e8f14

Browse files
committed
Fix non-interctive path
1 parent 315e003 commit 79e8f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/CertificateGeneration/CertificateManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ public EnsureCertificateResult EnsureValidCertificateExists(
759759
return EnsureCertificateResult.ErrorSavingTheCertificateIntoTheCurrentUserPersonalStore;
760760
}
761761

762-
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
762+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) && isInteractive)
763763
{
764764
MakeCertificateKeyAccessibleAcrossPartitions(certificate);
765765
}

0 commit comments

Comments
 (0)