Browse Source

use -i as well

master
Ralph Rönnquist 6 months ago
parent
commit
6b65dda096
  1. 2
      overlay-go

2
overlay-go

@ -21,7 +21,7 @@ EOF
exit 1
fi
sudo nsenter -t "$RSPID" -n -m -p -r -w -u -C /bin/bash
sudo nsenter -t "$RSPID" -n -m -p -r -w -i -u -C /bin/bash
if [ $? = 137 ] ; then
echo "######### please 'fg' this again (if stopped)" >&2
stty sane # a killed bash might leave the tty insane and stty

Loading…
Cancel
Save