mirror of
https://github.com/troglobit/finit.git
synced 2026-11-19 19:40:50 +00:00
test: Use STDOUT of parent process instead of a pipe as tty for finit
Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
1 parent
439699ef52
commit
067043b298
4 files changed
+7
-6
No files matched your search
+4
-1
@@ -45,4 +45,7 @@ exec "$unshare" \
|
||||
--mount \
|
||||
--mount-proc \
|
||||
--uts --ipc --net \
|
||||
"$chroot" "$TENV_ROOT" /bin/chrootsetup.sh "$@"
|
||||
sh -c "
|
||||
ln -fs /proc/1/fd/1 $TENV_ROOT/shared/pts;
|
||||
exec $chroot $TENV_ROOT /bin/chrootsetup.sh $*
|
||||
"
|
||||
Reference in new issue
Block a user