ctdb-scripts: Avoid shellcheck warning SC2039 (non-portable ulimit options)
authorMartin Schwenke <martin@meltin.net>
Tue, 12 Jul 2016 02:15:12 +0000 (12:15 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 21 Jul 2016 00:24:27 +0000 (02:24 +0200)
commitd138cb8062ddaeb58210138059b53326cced96f6
treed1e7793baa13ca6c5338cc9bc3b3181f89671f05
parente96c1227908257a9371c11dda99ca3d0fa07208d
ctdb-scripts: Avoid shellcheck warning SC2039 (non-portable ulimit options)

SC2039: In POSIX sh, ulimit -c/-n is not supported.

Have shellcheck suppress the warnings.  If -n is not supported then
don't set CTDB_MAX_OPEN_FILES.  If packaging for a platform where -c
is not supported then remove this code and associated documentation.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/ctdbd_wrapper