[PATCH] ctdb-scripts: Avoid shellcheck SC1117: Backslash is literal in "..."

Martin Schwenke martin at meltin.net
Thu Apr 26 10:10:37 UTC 2018


This warning (apparently new in shellcheck 0.4.7) only applies to
double-quoted strings.  Change affected constant strings to use
single-quotes.  In the one example that contains a variable expansion
escape the backslash as recommended.

Please review and  maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-scripts-Avoid-shellcheck-SC1117-Backslash-is-li.patch
Type: text/x-patch
Size: 4099 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180426/8fc91984/0001-ctdb-scripts-Avoid-shellcheck-SC1117-Backslash-is-li.bin>


More information about the samba-technical mailing list