check for failure from kx

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-09-30 11:31:02 +00:00
parent 2955c74442
commit 1a5d3874e8
2 changed files with 14 additions and 8 deletions

View File

@@ -6,8 +6,11 @@ if test $# -ne 1; then
fi
host=$1
bindir=%bindir%
set `$bindir/kx $host`
pid=$1
disp=:$2
auth=$3
set foo `$bindir/kx $host`
if test $# -ne 4; then
exit 1
fi
pid=$2
disp=:$3
auth=$4
(xterm -T $host -n $host -e env DISPLAY=$disp XAUTHORITY=$auth $bindir/telnet -D $host ; kill -USR2 $pid) &

View File

@@ -6,9 +6,12 @@ if test $# -ne 1; then
fi
host=$1
bindir=%bindir%
set `$bindir/kx $host`
pid=$1
disp=:$2
auth=$3
set foo `$bindir/kx $host`
if test $# -ne 4; then
exit 1
fi
pid=$2
disp=:$3
auth=$4
kill -USR1 $pid
$bindir/rsh -n $host "env DISPLAY=$disp XAUTHORITY=$auth xterm -T $host -n $host &"