Commit 8a6ef64
Fix SIGPIPE error in mirror-plugins.sh when using --from-dir (#2263)
The grep | head pipeline causes SIGPIPE (exit 141) when head closes
the pipe after reading one line while grep is still writing. With
set -eo pipefail, this causes the script to exit silently.
Adding '|| true' prevents the pipeline failure from terminating the script.
Signed-off-by: Fortune-Ndlovu <fndlovu@redhat.com>
Co-authored-by: Fortune-Ndlovu <fndlovu@redhat.com>1 parent 7a9cfa8 commit 8a6ef64
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
| 845 | + | |
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
| |||
0 commit comments