From 12838cec9b7518161ef4d02865dc9e0bad6b108e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 19 Dec 1998 21:07:32 +0000 Subject: remove .saved-state --- tests/stty/basic-1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/stty/basic-1 b/tests/stty/basic-1 index 06f87959b..753440f13 100755 --- a/tests/stty/basic-1 +++ b/tests/stty/basic-1 @@ -24,7 +24,8 @@ REV_cbreak=1 REV_decctlq=1 REV_tabs=1 REV_lcase=1 REV_LCASE=1 saved_state=.saved-state $STTY --save > $saved_state || exit 1 -trap "status=$?; $STTY `cat $saved_state`; exit $status" 0 1 2 3 15 +trap "status=$?; $STTY `cat $saved_state`; rm -f $saved_state; exit $status" \ + 0 1 2 3 15 $STTY `cat $saved_state` || exit 1 # Build a list of all boolean options stty accepts on this system. -- cgit v1.2.3-70-g09d2