mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 01:30:52 +01:00
mount: Revert [] > ()
This commit is contained in:
@@ -92,7 +92,7 @@ elif [ ! -e "${_hostpath}" ] || [ "${_type}" != "nullfs" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Mount permissions,options must start with one of "ro, rw, rq, sw, xx"
|
# Mount permissions,options must start with one of "ro, rw, rq, sw, xx"
|
||||||
if ! echo "${_perms}" | grep -Eq '[ro|rw|rq|sw|xx](,.*)?$'; then
|
if ! echo "${_perms}" | grep -Eq '(ro|rw|rq|sw|xx)(,.*)?$'; then
|
||||||
error_notify "Detected invalid mount permissions in FSTAB."
|
error_notify "Detected invalid mount permissions in FSTAB."
|
||||||
warn "Format: /host/path /jail/path nullfs ro 0 0"
|
warn "Format: /host/path /jail/path nullfs ro 0 0"
|
||||||
warn "Read: ${_fstab}"
|
warn "Read: ${_fstab}"
|
||||||
|
|||||||
Reference in New Issue
Block a user