- Apply three fixes: * dd_rhelp_EOF.diff: Be tolerant to error messages after EOF. * dd_rhelp_Summary.diff: Avoid misparsing Summary line. * dd_rhelp.test.diff: Don't misparse dd_rescue version number. OBS-URL: https://build.opensuse.org/request/show/150906 OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rhelp?expand=0&rev=6
14 lines
534 B
Diff
14 lines
534 B
Diff
Index: dd_rhelp-0.3.0/dd_rhelp
|
|
===================================================================
|
|
--- dd_rhelp-0.3.0.orig/dd_rhelp
|
|
+++ dd_rhelp-0.3.0/dd_rhelp
|
|
@@ -1746,7 +1746,7 @@ function process_log() {
|
|
|
|
## Remove first line of summaries that had 0.0k transfered. (They are useless)
|
|
# XXXVaab : bad if file is less that 0.1Ko length
|
|
- data=$(echo "$data" | "${grep}" -v "xferd: \+0.0k$")
|
|
+ data=$(echo "$data" | "${grep}" -v "xferd: \+0.0k$" | "${grep}" -v "$string")
|
|
[ "$DEBUG" == "on" ] && echo -n "."
|
|
|
|
|