Note that this commit is actually bisecting the changes from
Loic Dachary that touch ceph-disk only (
ad515bf). As that changeset
also touches other files it causes conflicts that are not resolvable
for backporting it to dumpling.
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
)
if args.prepend_to_path != '':
- path = os.environ.get('PATH', '')
+ path = os.environ.get('PATH', os.defpath)
os.environ['PATH'] = args.prepend_to_path + ":" + path
setup_statedir(args.statedir)