mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Change shellcheck and checkbashism triggers.
Newer versions of `shellcheck` and `checkbashism` finds more than previous, so fix those. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <robn@despairlabs.com> Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Closes #18000
This commit is contained in:
committed by
Brian Behlendorf
parent
6c6a469bea
commit
0ba3403323
+2
-2
@@ -10,7 +10,7 @@ RET=0
|
||||
# check for exec stacks
|
||||
OUT=$(scanelf -qyRAF '%e %p' "$1")
|
||||
|
||||
if [ x"${OUT}" != x ]; then
|
||||
if [ "${OUT}" != "" ]; then
|
||||
RET=2
|
||||
echo "The following files contain writable and executable sections"
|
||||
echo " Files with such sections will not work properly (or at all!) on some"
|
||||
@@ -26,7 +26,7 @@ fi
|
||||
# check for TEXTRELS
|
||||
OUT=$(scanelf -qyRAF '%T %p' "$1")
|
||||
|
||||
if [ x"${OUT}" != x ]; then
|
||||
if [ "${OUT}" != "" ]; then
|
||||
RET=2
|
||||
echo "The following files contain runtime text relocations"
|
||||
echo " Text relocations force the dynamic linker to perform extra"
|
||||
|
||||
Reference in New Issue
Block a user