summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-20 15:37:26 +0200
committertv <tv@iiso>2011-09-20 15:37:26 +0200
commit8e30185619d6cdc8ec2cd5dd0f341ffabef2d563 (patch)
treee5b5943aec01cdaa2738d7176abf612776b54817
parentfa1e71f1376a4983251821c6b74275dd4b726b4e (diff)
//hyper spawn: defer cd, so Solaris's sh can rmdir
-rwxr-xr-xhyper/process/spawn2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyper/process/spawn b/hyper/process/spawn
index 01ca2a04..cf93eb6b 100755
--- a/hyper/process/spawn
+++ b/hyper/process/spawn
@@ -34,7 +34,7 @@ spawn() {
# change to //proc working directory
cwd="$PWD"
cd $wd
- #defer cd $cwd # no need for this, b/c at that time we're aldeady dead
+ defer cd $cwd
# create named pipes for the child process's stdio
mkfifo 0 1 2