1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4012 Related. Minor improvement.

This commit is contained in:
Jose Rojas
2020-09-23 17:09:52 -05:00
parent f966584bee
commit a957352aaf

View File

@ -163,8 +163,8 @@ brm_saves_current.decode("utf-8").replace("BRM_saves", ""))
if retcode < 0:
print('{} exits with {}.'.format(cmd, retcode))
sys.exit(1)
for shm_file in glob.glob('/dev/shm/*'):
if use_systemd:
if use_systemd:
for shm_file in glob.glob('/dev/shm/*'):
shutil.chown(shm_file, USER, GROUP)
except OSError as e:
sys.exit(1)