fix: detectar presencia de Xauthority

This commit is contained in:
f 2022-12-01 14:10:05 -03:00
parent ac4bd0a57a
commit 4149df450a

View file

@ -71,7 +71,7 @@ correr() {
--unshare-cgroup-try \
--bind "$ENTORNO" / \
--bind "$ROOT" /Sutty \
--ro-bind ~/.Xauthority /home/suttier/.Xauthority \
$(test -f ~/.Xauthority && echo "--ro-bind ~/.Xauthority /home/suttier/.Xauthority") \
--ro-bind /etc/hosts /etc/hosts \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--ro-bind /etc/localtime /etc/localtime \