From: Eric Bollengier Date: Sun, 13 May 2007 09:21:34 +0000 (+0000) Subject: ebl Fix a segfault when VolStatus NOT IN (Append, Full, Used, Error) X-Git-Tag: Release-7.0.0~6365 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4f3446b051277c2b72b37659947edc632c80526;p=bacula%2Fbacula ebl Fix a segfault when VolStatus NOT IN (Append, Full, Used, Error) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4766 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_purge.c b/bacula/src/dird/ua_purge.c index 30485d3f90..a8209a26d0 100644 --- a/bacula/src/dird/ua_purge.c +++ b/bacula/src/dird/ua_purge.c @@ -407,7 +407,7 @@ bool purge_jobs_from_volume(UAContext *ua, MEDIA_DBR *mr) ua->error_msg(_("\nVolume \"%s\" has VolStatus \"%s\" and cannot be purged.\n" "The VolStatus must be: Append, Full, Used, or Error to be purged.\n"), mr->VolumeName, mr->VolStatus); - goto bail_out; + return 0; } memset(&jr, 0, sizeof(jr));