Skip to content

Commit

Permalink
Merge branch '202305' of https://github.com/sonic-net/sonic-buildimage
Browse files Browse the repository at this point in the history
…into 202305
  • Loading branch information
mssonicbld committed Oct 12, 2024
2 parents 0b469b1 + 4a1d986 commit 3e95fb8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@


try:
import os
import binascii
import redis
import struct
Expand Down Expand Up @@ -304,7 +305,7 @@ def __init__(self, is_plugin=False):
super(EepromS6000, self).__init__(self.eeprom_path, None, 0, '', True)

if not is_plugin:
self.eeprom_data = self.read_eeprom()
self.eeprom_data = "N/A" if os.geteuid() != 0 else self.read_eeprom()

def _is_valid_block_checksum(self, e):
crc = self.compute_dell_crc(e[:-2])
Expand Down

0 comments on commit 3e95fb8

Please sign in to comment.