--- x3270-3.3/Examples/peer_script.bash +++ x3270-3.3/Examples/peer_script.bash 2000/06/07 07:37:48 @@ -59,10 +59,10 @@ ip=/tmp/ip.$$ op=/tmp/op.$$ rm -f $ip $op trap "rm -f $ip $op" EXIT -trap "exit" INT QUIT HUP TERM -mknod $ip p -mknod $op p +trap "exit" INT QUIT HUP BUS PIPE TERM +mknod $ip p || exit 1 +mknod $op p || exit 1 # Start x3270 x3270 -script -model 2 -color <$ip >$op & --- x3270-3.3/Examples/peer_script.sh +++ x3270-3.3/Examples/peer_script.sh 2000/06/07 07:37:48 @@ -58,10 +58,10 @@ ip=/tmp/ip.$$ op=/tmp/op.$$ rm -f $ip $op trap "rm -f $ip $op" 0 -trap "exit" 2 3 1 15 -mknod $ip p -mknod $op p +trap "exit" 2 3 1 7 13 15 +mknod $ip p || exit 1 +mknod $op p || exit 1 # Start x3270 x3270 -script -model 2 -color <$ip >$op &