diff options
Diffstat (limited to 'ctdb/config/debug-hung-script.sh')
-rwxr-xr-x | ctdb/config/debug-hung-script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/debug-hung-script.sh b/ctdb/config/debug-hung-script.sh index dc9c6e1ac7f..d6ff833a43e 100755 --- a/ctdb/config/debug-hung-script.sh +++ b/ctdb/config/debug-hung-script.sh @@ -36,7 +36,7 @@ fi default_pat='exportfs|rpcinfo' pat="${CTDB_DEBUG_HUNG_SCRIPT_STACKPAT:-${default_pat}}" echo "$out" | - sed -r -n "s@.*-(.*(${pat}).*),([0-9]*).*@\3 \1@p" | + sed -r -n "s@.*-(.*(${pat}).*),([0-9]*).*@\\3 \\1@p" | while read pid name ; do trace=$(cat "/proc/${pid}/stack" 2>/dev/null) # No! Checking the exit code afterwards is actually clearer... |