summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2021-06-21 20:30:21 +1000
committerAmitay Isaacs <amitay@samba.org>2021-06-25 10:06:48 +0000
commit466aa8b6f5a61d523d708ceb3d5ab1c409bccc1b (patch)
treef4144eb1144dc3ff5b1a9d16fe8955f569ecd4ab /ctdb
parentfc0da6b0f878d70ff19a568cbb2e47972b45c0b1 (diff)
downloadsamba-466aa8b6f5a61d523d708ceb3d5ab1c409bccc1b.tar.gz
ctdb-scripts: Ignore ShellCheck SC3013 for test -nt
In ShellCheck 0.7.2, POSIX compatibility warnings got their own SC3xxx error codes, so now both the old and new codes need to be ignored. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Fri Jun 25 10:06:48 UTC 2021 on sn-devel-184
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/config/nfs-linux-kernel-callout2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/nfs-linux-kernel-callout b/ctdb/config/nfs-linux-kernel-callout
index 6a372d4b4fd..9c2d0418e55 100755
--- a/ctdb/config/nfs-linux-kernel-callout
+++ b/ctdb/config/nfs-linux-kernel-callout
@@ -329,7 +329,7 @@ nfs_monitor_list_shares ()
{
_cache_file="${CTDB_NFS_CALLOUT_STATE_DIR}/list_shares_cache"
# -nt operator is well supported in Linux: dash, bash, ksh, ...
- # shellcheck disable=SC2039
+ # shellcheck disable=SC2039,SC3013
if [ ! -r "$nfs_exports_file" ] || [ ! -r "$_cache_file" ] || \
[ "$nfs_exports_file" -nt "$_cache_file" ] ; then
mkdir -p "$CTDB_NFS_CALLOUT_STATE_DIR"