From 85bed4b120f592bf95357742432ce3bd1ad97bc3 Mon Sep 17 00:00:00 2001 From: Chris Leech Date: Feb 18 2014 06:48:06 +0000 Subject: fix regression in glob use, inappropriate error code escape Resolves: #1066116 Signed-off-by: Chris Leech --- diff --git a/0146-idbw_rec_write-pick-tpgt-from-existing-record.patch b/0146-idbw_rec_write-pick-tpgt-from-existing-record.patch index 894eb4b..d2af2fb 100644 --- a/0146-idbw_rec_write-pick-tpgt-from-existing-record.patch +++ b/0146-idbw_rec_write-pick-tpgt-from-existing-record.patch @@ -23,7 +23,7 @@ index cb6ffd1..5adbd95 100644 #include #include -@@ -1884,12 +1885,47 @@ static int idbm_rec_write_old(node_rec_t *rec) +@@ -1884,12 +1885,48 @@ static int idbm_rec_write_old(node_rec_t *rec) FILE *f; char *portal; int rc = 0; @@ -59,6 +59,7 @@ index cb6ffd1..5adbd95 100644 + "but no valid tpgt found"); + } + globfree(&globbuf); ++ rc = 0; + + /* if a tpgt was selected from an old record, write entry in new format */ + if (tpgt != PORTAL_GROUP_TAG_UNKNOWN) {