]> git.ipfire.org Git - thirdparty/bacula.git/commit
remove redundant restore_cleanup()
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Mon, 18 Oct 2021 20:04:32 +0000 (22:04 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
commit363e5f7252a0d25cf5dbdb3c7af9c87f71501f0a
tree7892d497540ca7f977b3c7f8a6e5cfc7345d8527
parent55d4f9ce5f9464675dfcf7b2f91a3c5553aa01e3
remove redundant restore_cleanup()

For the success path, it's called anyway, for the error path it's called
if the `do_restore()` fails, so there is no need to call it twice.
bacula/src/dird/restore.c