Skip to content

Commit

Permalink
--xc: fix --runfromhost
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Feb 20, 2022
1 parent eb7538a commit c893bec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -4394,12 +4394,6 @@ create_xinitrc() { # create xinitrc: set up X environment, create c
# --xfishtank
[ "$Xfishtank" = "yes" ] && echo "xfishtank & storepid \$! xfishtank"

[ "$Runfromhost" ] && {
echo "# custom host command added with option --runfromhost"
echo "$Runfromhost"
echo ""
}

echo "echo 'xinitrc: xinitrc is ready'"
echo "storeinfo xinitrc=ready"
echo ""
Expand Down Expand Up @@ -10121,6 +10115,12 @@ $(nl -ba <$Cmdrc)"
waitforlogentry 'start_container()' $Xinitlogfile 'xinitrc is ready' "$Xiniterrorcodes"
rocknroll || timetosaygoodbye main

[ "$Runfromhost" ] && { # --runfromhost
while read Line; do
unpriv "env $Newxenv $Runfromhost"
done <<< "$Runfromhost"
}

case "$Backend" in
chroot)
Chrootmountlist="$(grep . <<< "$Chrootmountlist")"
Expand Down

0 comments on commit c893bec

Please sign in to comment.