summaryrefslogtreecommitdiff
path: root/src/transport/test_delay
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-24 10:32:31 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-24 10:32:31 +0200
commit8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5 (patch)
tree1c1441756308b731620767a37541b540ec146b61 /src/transport/test_delay
parentf01e72dec9b6e513a3e6fe21f128e76eee24b01d (diff)
make script run on macOS (*BSD)
Diffstat (limited to 'src/transport/test_delay')
-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 "$@"