From b4f3446b051277c2b72b37659947edc632c80526 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 13 May 2007 09:21:34 +0000 Subject: [PATCH] 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 --- bacula/src/dird/ua_purge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5