mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-19 11:30:07 +02:00
Fix remote rename command
This commit is contained in:
parent
e02b7f7c92
commit
64510a4261
@ -914,7 +914,7 @@ void fio_communicate(int in, int out)
|
||||
IO_CHECK(fio_write_all(out, &hdr, sizeof(hdr)), sizeof(hdr));
|
||||
break;
|
||||
case FIO_RENAME:
|
||||
SYS_CHECK(rename(buf, buf + strlen(buf)));
|
||||
SYS_CHECK(rename(buf, buf + strlen(buf) + 1));
|
||||
break;
|
||||
case FIO_UNLINK:
|
||||
SYS_CHECK(unlink(buf));
|
||||
|
Loading…
x
Reference in New Issue
Block a user