mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-05 20:24:09 +01:00
mount: just change "must start with" to "must include" for documentation
This commit is contained in:
@@ -110,7 +110,7 @@ elif [ ! -e "${_hostpath}" ] || [ "${_type}" != "nullfs" ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
# Mount permissions,options must start with one of "ro, rw, rq, sw, xx"
|
||||
# Mount permissions,options must include one of "ro, rw, rq, sw, xx"
|
||||
if ! echo "${_perms}" | grep -Eq '(ro|rw|rq|sw|xx)(,.*)?$'; then
|
||||
error_notify "Detected invalid mount permissions in FSTAB."
|
||||
warn "Format: /host/path /jail/path nullfs ro 0 0"
|
||||
|
||||
Reference in New Issue
Block a user