ctdb-scripts: Fix a regression in statd-callout
commit032441d9a2974584cde455e4dbd5cc33fe6a23c2
authorMartin Schwenke <martin@meltin.net>
Thu, 26 Feb 2015 04:34:51 +0000 (26 15:34 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 4 Mar 2015 09:42:27 +0000 (4 10:42 +0100)
tree04e60a06ccd27e6ecfc13c6b2262a23a5fd16144
parent22602f76bc1ec91e807a8f1cd45ba6fb4c05e622
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>
ctdb/config/statd-callout