mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-04 13:02:25 +00:00
Fix typo in confluentdbutil
The restore function would fail to chown directories due to typo
This commit is contained in:
parent
e24852c480
commit
f176ebe4c2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user