Skip to content

Conversation

@jacksonfoz
Copy link
Contributor

If the log_directory resolves to a relative path,
e.g. "../pg_log", the check_disk_space fails with an error like:

ERROR: Invalid result from command "/bin/df -kP "../pg_log" 2>&1": /bin/df: â: No such file or directory

This patch adds a verification to check if the logdir variable starts with a .[dot]

If the log_directory resolves to a relative path,
e.g. "../pg_log", the check_disk_space fails with an error like:

ERROR: Invalid result from command "/bin/df -kP "../pg_log" 2>&1": /bin/df: â: No such file or directory

This patch adds a verification to check if the logdir variable starts with a .[dot]
@machack666 machack666 merged commit 86e9a1c into bucardo:master Nov 6, 2020
@machack666
Copy link
Collaborator

Thanks for the report and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants