diff options
author | Vlad Glagolev | 2015-04-22 11:59:59 +0300 |
---|---|---|
committer | Vlad Glagolev | 2015-04-22 11:59:59 +0300 |
commit | f5aaec3e15bbd63e6b21454982a5f353755f2fb6 (patch) | |
tree | 92b92d75ff634476473a0e29a9122cfd09328876 /FUNCTIONS | |
parent | e56a7d51157cbf2dde47515a5abd8cf17a5d2313 (diff) |
do not force noexec option in check_tmp_noexec()
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -730,7 +730,7 @@ function check_tmp_noexec() { message -n "${MESSAGE_COLOR}Remounting $1 with exec option (required for build)... " && mount -o exec,remount $1 && message "done${DEFAULT_COLOR}" - else + elif awk -v tmp=$1 '{ if ($2 == tmp) print $4 }' < /etc/fstab | grep -q noexec; then message -n "${MESSAGE_COLOR}Restoring $1 mount options... " && mount -o noexec,remount $1 && message "done${DEFAULT_COLOR}" |