mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +01:00
Increase file descriptors limit if possible
This commit is contained in:
parent
37cd806fcf
commit
79bbe80d21
1 changed files with 4 additions and 0 deletions
|
@ -820,6 +820,10 @@ else
|
||||||
"${script}" "${mount_point}")
|
"${script}" "${mount_point}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Increase file descriptors limit in case soft and hard limits are different
|
||||||
|
# Useful for unionfs-fuse and for some games
|
||||||
|
ulimit -n $(ulimit -Hn) &>/dev/null
|
||||||
|
|
||||||
# Mount the image
|
# Mount the image
|
||||||
mkdir -p "${mount_point}"
|
mkdir -p "${mount_point}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue