Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
hbsd-checksec
Commits
c7c020cf
Commit
c7c020cf
authored
May 27, 2020
by
Christian Göttsche
Browse files
Remove unused variable
parent
fa65b017
Changes
1
Hide whitespace changes
Inline
Side-by-side
checksec
View file @
c7c020cf
...
...
@@ -2029,7 +2029,6 @@ elif [[ "${OPT}" != 1 ]]; then
fi
for
variable
in
CHK_DIR CHK_FILE CHK_FORTIFY_FILE CHK_FORTIFY_PROC CHK_PROC CHK_PROC_LIBS
;
do
chk_name
=
"
${
variable
#*_
}
"
if
[[
-n
${
!variable+x
}
]]
;
then
if
[[
-z
"
${
!variable
}
"
]]
;
then
printf
"
\0
33[31mError: Option Required.
\0
33[m
\n\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment