Blame SOURCES/sassist-7256a6a35.patch

ae9bcb
commit 7256a6a35eeefd0ca6992eabd6283aadc7dfd4eb
ae9bcb
Author: Charles Rose <charles.rose@dell.com>
ae9bcb
Date:   Mon Feb 18 16:34:16 2019 -0500
ae9bcb
ae9bcb
    script: zip fails with sockets
ae9bcb
    
ae9bcb
    zip fails when archive contains socket files. sosreport removes
ae9bcb
    them anyway. If sosreport supported 'zip' compression, this would
ae9bcb
    have not been an issue.
ae9bcb
ae9bcb
diff --git a/src/sassist.sh b/src/sassist.sh
ae9bcb
index be07d0e..49fb65c 100755
ae9bcb
--- a/src/sassist.sh
ae9bcb
+++ b/src/sassist.sh
ae9bcb
@@ -67,6 +67,7 @@ do_sosreport()
ae9bcb
 		--tmp-dir ${TMP_DIR} --build --quiet \
ae9bcb
 		--name ${SVCTAG} || return 1
ae9bcb
 
ae9bcb
+	find ${TMP_DIR} -type s -exec rm -f '{}' \;
ae9bcb
 	$(cd ${TMP_DIR}/sosreport-* && zip -y -q -r ${OUTFILE_F} . )
ae9bcb
 }
ae9bcb