Regex + comment fix

This commit is contained in:
Patrick Van der Veken
2018-10-03 13:37:12 +02:00
parent e78a6dcf40
commit cbe1b007a3
3 changed files with 7 additions and 6 deletions
@@ -61,7 +61,7 @@ mount >>${HC_STDOUT_LOG} 2>>${HC_STDERR_LOG}
lsfs -ac >>${HC_STDOUT_LOG} 2>>${HC_STDERR_LOG}
(( $? == 0)) || return $?
# check for each auto-mount configured file system (except /)
# check for each configured file system (except /)
lsfs -ac 2>/dev/null |\
grep -v -E -e '^#' -e '^\/:' |\
grep -E -e '.*:.*:.*:.*:.*:.*:.*:yes:.*' |\