]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix #8167 About BAT tool crashing the dir
authorNorbert Bizet <norbert.bizet@baculasystems.com>
Tue, 21 Sep 2021 09:22:49 +0000 (05:22 -0400)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:04 +0000 (09:03 +0100)
commit28cdc7831aac26e636372bc82475d2962852d7b7
treeb032ff3fa44e36b868dfdfeab6407e4b5a3196ac
parentae220a98e4f1eb8a553669f3d51d06d363fa2dc9
Fix #8167 About BAT tool crashing the dir

Reintroduced missing 'if(job)' case for get_job_storage, so that it
works for both 'run' and 'job' arguments provided.
Removed unneded get_job_storage() call from get_storage().
bacula/src/dird/job.c
bacula/src/dird/ua_dotcmds.c
bacula/src/dird/ua_run.c