git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7f64e
)
s3:script: Fix shellcheck errors in test_net_registry_check.sh
author
Andreas Schneider
<asn@samba.org>
Thu, 3 Mar 2022 14:23:25 +0000
(15:23 +0100)
committer
Andreas Schneider
<asn@samba.org>
Fri, 15 Jul 2022 13:32:38 +0000
(15:32 +0200)
source3/script/tests/test_net_registry_check.sh:33:32: error: Double
quote array expansions to avoid re-splitting elements. [SC2068]
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/script/tests/test_net_registry_check.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_net_registry_check.sh
b/source3/script/tests/test_net_registry_check.sh
index 3555af0530606e8399cd5d34c080d8a31f864ebc..07ccf86cdae96a2c038a5ce6afaf04a120a243ee 100755
(executable)
--- a/
source3/script/tests/test_net_registry_check.sh
+++ b/
source3/script/tests/test_net_registry_check.sh
@@
-30,7
+30,7
@@
failed=0
regcheck()
{
ALLOWEDERR="Check database:|INFO: version ="
- ERRSTR=$(${NETREG} check $REG
$@
2>&1 | egrep -v "$ALLOWEDERR")
+ ERRSTR=$(${NETREG} check $REG
"$@"
2>&1 | egrep -v "$ALLOWEDERR")
}
# try to repair registry