slitaz-tools diff tinyutils/tazdialog @ rev 250
tazdialog: avoid return out of functions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 18 21:40:51 2008 +0000 (2008-07-18) |
parents | 981e48565c3a |
children |
line diff
1.1 --- a/tinyutils/tazdialog Thu Jul 17 22:18:29 2008 +0000 1.2 +++ b/tinyutils/tazdialog Fri Jul 18 21:40:51 2008 +0000 1.3 @@ -100,7 +100,7 @@ 1.4 radiolist="1"; shift 5; break;; 1.5 --fselect) fselect="$2"; lines="$3"; cols="$4" 1.6 buttonok="1"; buttoncancel="1"; break;; 1.7 - *) echo "Unknown arg $1"; return 255;; 1.8 + *) echo "Unknown arg $1"; exit 255;; 1.9 esac 1.10 done 1.11 fi