From abab405ccd6652d5f51a04b4f736caac67dd76db Mon Sep 17 00:00:00 2001 From: jdh8d <jdh8d@git.zephyr-software.com> Date: Fri, 8 Apr 2011 19:06:40 +0000 Subject: [PATCH] Avoid failures due to terminal issues --- SMP-analyze.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SMP-analyze.sh b/SMP-analyze.sh index 6bc79a5a..9eda475d 100755 --- a/SMP-analyze.sh +++ b/SMP-analyze.sh @@ -42,7 +42,7 @@ if [ ! -f ${IDAROOT}/libida.so ]; then echo IDAROOT is set poorly, please fix.; # remove tmp files rm -f $1.id? $1.{nam,til,log,syms} `basename $1 .ncexe`.id? -old_stty=`stty -g` +old_stty=`stty -g` || true @@ -72,8 +72,8 @@ fi # SMP seems to mess up the terminal, using this to fix it. -/usr/bin/reset -stty $old_stty +/usr/bin/reset || true +stty $old_stty || true # Get the output file SMP.syms into $1.syms. # mv SMP.annot $1.annot -- GitLab