2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-29 04:50:21 +00:00

Fix whitespace issue

This commit is contained in:
Jarrod Johnson 2024-07-24 15:28:03 -04:00
parent a92edc7924
commit 6e8d8dabd1

View File

@ -227,7 +227,7 @@ def assure_ownership(path):
sys.exit(1)
except OSError as e:
if e.errno == 13:
if os.getuid() == 0:
if os.getuid() == 0:
sys.stderr.write('Attempting to run as root, when non-root usage is detected\n')
else:
sys.stderr.write('{} is not owned by confluent user, change ownership\n'.format(path))