[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] run.in: Default to running the poke binary
From: |
John Darrington |
Subject: |
[PATCH] run.in: Default to running the poke binary |
Date: |
Sun, 22 Mar 2020 07:58:23 +0100 |
---
run.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/run.in b/run.in
index 7c0c031d..9d943466 100644
--- a/run.in
+++ b/run.in
@@ -43,4 +43,8 @@ MALLOC_PERTURB_=$random_val
export MALLOC_CHECK_ MALLOC_PERTURB_
# Now run the program
-exec "$@"
+if test $# -eq 0; then
+ exec poke
+else
+ exec "$@"
+fi
--
2.20.1
- [PATCH] run.in: Default to running the poke binary,
John Darrington <=