Add VERBOSE message for the IS_TMPNOEXEC check
This commit is contained in:
parent
53cd10f4a8
commit
de487e964c
|
@ -148,6 +148,9 @@ fi
|
||||||
|
|
||||||
if [ "$IS_TMPNOEXEC" = 1 ]; then
|
if [ "$IS_TMPNOEXEC" = 1 ]; then
|
||||||
mount | grep "on /tmp" | grep -q noexec || echo 'IS_TMPNOEXEC FAILED!'
|
mount | grep "on /tmp" | grep -q noexec || echo 'IS_TMPNOEXEC FAILED!'
|
||||||
|
if [[ "$VERBOSE" == 1 ]]; then
|
||||||
|
echo "/tmp should be mounted with the noexec option"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_TMOUTPROFILE" = 1 ]; then
|
if [ "$IS_TMOUTPROFILE" = 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue