Skip to content
Snippets Groups Projects
Commit 8938a4f6 authored by Simon McVittie's avatar Simon McVittie
Browse files

pressure-vessel-wrap: Give a hint how to use --xterm

parent 2b1a61d4
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,7 @@ if [ -n "$verbose" ]; then ...@@ -261,7 +261,7 @@ if [ -n "$verbose" ]; then
fi fi
if [ -n "$xterm" ]; then if [ -n "$xterm" ]; then
wrapped_command=(xterm -e bash -i -s "$@") wrapped_command=(xterm -e sh -c 'echo; echo "$1: Starting interactive shell (original command is in \"\$@\")"; echo; shift; exec "$@"' sh "$me" bash -i -s "$@")
elif [ -n "$interactive" ]; then elif [ -n "$interactive" ]; then
exec </dev/tty exec </dev/tty
exec >/dev/tty exec >/dev/tty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment