From: Darrick J. Wong Date: Thu, 17 Oct 2019 02:35:25 +0000 (-0400) Subject: xfs_scrub: report all progressbar creation failures X-Git-Tag: v5.3.0-rc2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a9ac2051487194e555da7f25c98bc98a0a5c82f;p=thirdparty%2Fxfsprogs-dev.git xfs_scrub: report all progressbar creation failures Always report failures when creating progress bars. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/scrub/progress.c b/scrub/progress.c index 08c7233ee..5fda4ccbc 100644 --- a/scrub/progress.c +++ b/scrub/progress.c @@ -198,8 +198,10 @@ progress_init_phase( } ret = pthread_create(&pt.thread, NULL, progress_report_thread, NULL); - if (ret) + if (ret) { + str_liberror(ctx, ret, _("creating progress reporting thread")); goto out_ptcounter; + } return true;