Don't clobber $? before using it.

Submitted by:	James Barkley <jbarkley@wgate.com>
This commit is contained in:
Brian Somers 2000-09-19 21:46:54 +00:00
parent e653127edf
commit 8a7f44a640
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66083

View File

@ -78,9 +78,10 @@ do
output=TRUE
processed=$(($processed + 1))
$file </dev/null >$tmp_output 2>&1
rc=$?
if [ -s $tmp_output ]
then
case $? in
case $rc in
0) [ $success = NO ] && output=FALSE;;
1) [ $info = NO ] && output=FALSE;;
2) [ $badconfig = NO ] && output=FALSE;;