diff --git a/bin/UTscapy b/bin/UTscapy
index f24a82c6b67e34be1d89cca88c06720f0f633b94..17c4f8748fbc5aafff3ef1aac207ee92971d84cd 100755
--- a/bin/UTscapy
+++ b/bin/UTscapy
@@ -24,4 +24,4 @@
 import sys
 from scapy.tools.UTscapy import main
 
-main(sys.argv[1:])
+exit(main(sys.argv[1:]))