cc-3573: incorrect function used in airtime-import.py
This commit is contained in:
parent
93904e3adc
commit
5737053561
|
@ -18,7 +18,7 @@ logging.disable(50)
|
|||
# add ch to logger
|
||||
logger.addHandler(ch)
|
||||
|
||||
if (posix_geteuid() != 0):
|
||||
if (os.geteuid() != 0):
|
||||
print 'Must be a root user.'
|
||||
sys.exit()
|
||||
|
||||
|
|
Loading…
Reference in New Issue