summaryrefslogtreecommitdiffstats
path: root/hyper/process/spawn
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-20 15:13:22 +0200
committertv <tv@iiso>2011-09-20 15:13:22 +0200
commit549515312ac5442bb7b8984665e7a79aba862a3c (patch)
tree11a4f2d9d34b24a510e23d5a346037a92ad61390 /hyper/process/spawn
parentb3a318886407c98b3e91df9173c2d9c2cf195de3 (diff)
//hyper spawn: fix spawn-debug-output for dash
Diffstat (limited to 'hyper/process/spawn')
-rwxr-xr-xhyper/process/spawn2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyper/process/spawn b/hyper/process/spawn
index 95854c7d..f800a1bb 100755
--- a/hyper/process/spawn
+++ b/hyper/process/spawn
@@ -41,7 +41,7 @@ spawn() {
defer rm 0 1 2
# spawn child process
- ( : "in $PWD/ spawn ${*-"nothing"}"
+ ( : "in $PWD/ spawn ${*:-"nothing"}"
exec 0>&- 1>&- 2>&- 0<>0 1<>1 2<>2
cd "$cwd"
exec "$@") &