Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f513b23a authored by Saagar Jha's avatar Saagar Jha
Browse files

Replace prodcertstatus with gcertstatus

Prodaccess is apparently deprecated now.

Test: Build with/without credentials and check that it works

Change-Id: Iaadaebe84fe9531b2d7d5f0d265751462bb827d8
parent 70b22926
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1486,7 +1486,7 @@ func (c *configImpl) GoogleProdCredsExist() bool {
	if googleProdCredsExistCache {
		return googleProdCredsExistCache
	}
	if _, err := exec.Command("/usr/bin/prodcertstatus", "--simple_output", "--nocheck_loas").Output(); err != nil {
	if _, err := exec.Command("/usr/bin/gcertstatus").Output(); err != nil {
		return false
	}
	googleProdCredsExistCache = true