mounting base dir read-only, everytime

This commit is contained in:
Thomas von Dein
2020-11-25 11:09:10 +01:00
parent 3b282dad46
commit 1727aa5ece

4
jaildk
View File

@@ -162,7 +162,9 @@ jaildk_rc_mount() {
perm=$6
if test -n "$rw"; then
opts=`echo "$opts" | sed 's/ro/rw/g'`
if ! echo $src | grep -q base/; then
opts=`echo "$opts" | sed 's/ro/rw/g'`
fi
fi
case $mode in