From fd4fe77ecd3c4118decf370194e2db3a72270717 Mon Sep 17 00:00:00 2001 From: Mattias Amnefelt Date: Thu, 22 Feb 2001 03:06:04 +0000 Subject: [PATCH] backup-addvolentry-fix-20010221 --- src/bucoord/vol_sets.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bucoord/vol_sets.c b/src/bucoord/vol_sets.c index b83ad7ea59..0d4fadd621 100644 --- a/src/bucoord/vol_sets.c +++ b/src/bucoord/vol_sets.c @@ -66,6 +66,12 @@ bc_AddVolEntryCmd(as, arock) partitionName = as->parms[2].items->data; volRegExp = as->parms[3].items->data; + code = bc_UpdateVolumeSet(); + if (code) { + com_err(whoami, code, "; Can't retrieve volume sets"); + return(code); + } + ctPtr = &bc_globalConfig->configText[TB_VOLUMESET]; tset = bc_FindVolumeSet(bc_globalConfig, volSetName);