forgot to make it a call

This commit is contained in:
slonkazoid 2024-08-22 19:20:05 +03:00
parent 0458a4f4e8
commit 431ab93d7b
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -46,7 +46,7 @@ fn main() -> eyre::Result<()> {
let mut child = Command::new("/bin/sh").arg("-c").arg(sh_args).spawn()?;
let exit = child.wait()?;
client.execute("select pg_backup_stop", &[])?;
client.execute("select pg_backup_stop()", &[])?;
drop(client);
exit.exit_ok()?;