git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f799a8
)
ctdb-scripts: Avoid ShellCheck warning SC2162
author
Martin Schwenke
<martin@meltin.net>
Fri, 18 Mar 2022 02:40:20 +0000
(13:40 +1100)
committer
Amitay Isaacs
<amitay@samba.org>
Fri, 24 Jun 2022 09:49:33 +0000
(09:49 +0000)
SC2162 read without -r will mangle backslashes
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/nfs-linux-kernel-callout
patch
|
blob
|
history
diff --git
a/ctdb/config/nfs-linux-kernel-callout
b/ctdb/config/nfs-linux-kernel-callout
index 60925ec72f115a5dc27322e515fc44f13235a56f..f2f3e3824d00ed105ad9f19d10881103c4051b4f 100755
(executable)
--- a/
ctdb/config/nfs-linux-kernel-callout
+++ b/
ctdb/config/nfs-linux-kernel-callout
@@
-352,7
+352,7
@@
nfs_check_thread_count()
# nfsd should be running the configured number of threads. If
# there are a different number of threads then tell nfsd the
# correct number.
- read _running_threads <"$_threads_file" || {
+ read
-r
_running_threads <"$_threads_file" || {
echo "WARNING: Reading \"${_threads_file}\" unexpectedly failed"
exit 0
}