Closed ymartin59 closed 6 years ago
It took me a while to figure out that the trailing / at the end of my directive
/
link('/var/lib/postgresql/')
was the reason why initialize_shared_storage failed to detect lacking target directories and just aborted its copy tentative.
initialize_shared_storage
It would be an interesting improvement to discard trailing slash if present in link declaration or else to abort early with dedicated error message.
I believe I have this fixed.
It took me a while to figure out that the trailing
/
at the end of my directivewas the reason why
initialize_shared_storage
failed to detect lacking target directories and just aborted its copy tentative.It would be an interesting improvement to discard trailing slash if present in link declaration or else to abort early with dedicated error message.