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:
parent
b3857f8d33
commit
95466392f9
@ -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…
Reference in New Issue
Block a user