Fix unhandled return value from Wait()

Discard return error from proc.Wait() to pass lint tests
This commit is contained in:
Jeffrey Frey
2022-11-30 16:08:58 -05:00
committed by GitHub
parent 8c6f85a0a9
commit 17d6448180

View File

@@ -642,7 +642,7 @@ func FileGz(
/* Execute the command: */
err = proc.Start()
if err != nil {
proc.Wait()
_ = proc.Wait()
gzippedFile.Close()
os.Remove(file_gz)
err = errors.Wrapf(err, "Unable to successfully execute compression program: %s", compressor)