Fix mtab workaround

This commit is contained in:
Howard Wu 2023-07-05 14:56:48 +08:00
parent 3aeb235c8b
commit 88bd8894d9

View file

@ -221,7 +221,7 @@ mount_erofs() {
# In Debian /usr/sbin is not in PATH and some utilities in there are in use
[ -d /usr/sbin ] && export PATH="/usr/sbin:$PATH"
# In Debian /etc/mtab is not exist
[ -f /etc/mtab ] || ln -s /proc/self/mounts /etc/mtab
[ -f /etc/mtab ] || sudo ln -s /proc/self/mounts /etc/mtab
ARCH_MAP=(
"x64"