2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix typo in confluentdbutil

The restore function would fail
to chown directories due to typo
This commit is contained in:
Jarrod Johnson 2021-03-01 10:31:28 -05:00
parent b3857f8d33
commit 95466392f9

View File

@ -74,7 +74,7 @@ if args[0] == 'restore':
for targdir in os.walk('/etc/confluent'):
os.chown(targdir[0], owner, group)
for f in targdir[2]:
os.chown(os.patht.join(targdir[0], f), owner, group)
os.chown(os.path.join(targdir[0], f), owner, group)
except Exception as e:
print(str(e))
sys.exit(1)