Skip to content

Commit a00f9f1

Browse files
committed
--log-directory should be an absolute path
1 parent 3b3180e commit a00f9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg_probackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ main(int argc, char *argv[])
215215
if (log_filename || error_log_filename)
216216
{
217217
if (log_directory)
218-
join_path_components(log_path, backup_path, log_directory);
218+
strcpy(log_path, log_directory);
219219
else
220220
join_path_components(log_path, backup_path, "log");
221221
}

0 commit comments

Comments
 (0)