ctdb-scripts: Fix a regression in statd-callout
commitbb6497e8f370c927363dfa4dbd4c3fce274736e8
authorMartin Schwenke <martin@meltin.net>
Thu, 26 Feb 2015 04:34:51 +0000 (26 15:34 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Apr 2015 21:54:48 +0000 (27 23:54 +0200)
treee5e82792b7eebd422f16fe0a3681f308a7c48949
parentbc1e3a83441d4b50ddb97d120b535ee9db6a902f
ctdb-scripts: Fix a regression in statd-callout

Commit 4638010abb116aed0c180207aaa11475277aecb7 changed from using
gensub() to gsub() in awk.  However, it didn't halve the number of
backslashes in the target strings.  This is necessary because
backslash is used in gensub() target strings to allow substitution of
text matching parenthesised subexpressions.  This is not the case with
gsub().

So, halve the number of backslashes in the target string where gsub()
is used in statd-callout.  This is the only target string broken by
changes made by the above commit

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 032441d9a2974584cde455e4dbd5cc33fe6a23c2)
ctdb/config/statd-callout