summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/transport/test_delay3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/test_delay b/src/transport/test_delay
index 31c7777c4..5f82b65fb 100755
--- a/src/transport/test_delay
+++ b/src/transport/test_delay
@@ -1,6 +1,6 @@
#!/bin/sh
-TEMP=$(getopt -o t: -- "$@")
+TEMP=$(getopt t: "$*")
if [ $? != 0 ] ; then
exit 1
@@ -15,4 +15,5 @@ while true ; do
(*) echo "Error parsing getopt output" ; exit 1 ;;
esac
done
+echo "exec $@"
exec "$@"