summaryrefslogtreecommitdiff
path: root/idl2eth.sh
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-08-13 06:42:19 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-13 06:42:19 +0000
commit9503bca96714a753bf72e5878686a9eb55feba28 (patch)
tree44a23baf69af6c23066b0b869347a4a03ddda27f /idl2eth.sh
parent89b2c34d0463dbcf33effdea5f24af1c54e834c2 (diff)
downloadwireshark-9503bca96714a753bf72e5878686a9eb55feba28.tar.gz
Small optimization
svn path=/trunk/; revision=15334
Diffstat (limited to 'idl2eth.sh')
-rw-r--r--idl2eth.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/idl2eth.sh b/idl2eth.sh
index 4e67881f7b..90e0e795fb 100644
--- a/idl2eth.sh
+++ b/idl2eth.sh
@@ -55,15 +55,15 @@ fi
# error.
if [ -f $PYTHONPATH/site-packages/ethereal_be.py ] && [ -f $PYTHONPATH/site-packages/ethereal_gen.py ]; then
- omniidl -p $PYTHONPATH/site-packages -b ethereal_be $1
- exit $?
+ exec omniidl -p $PYTHONPATH/site-packages -b ethereal_be $1
+ /* not reached */
fi
# Try current directory.
if [ -f ./ethereal_be.py ] && [ -f ./ethereal_gen.py ]; then
- omniidl -p ./ -b ethereal_be $1
- exit $?
+ exec omniidl -p ./ -b ethereal_be $1
+ /* not reached */
fi
# Could not find both ethereal_be.py AND ethereal_gen.py