aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 00:47:34 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-20 19:14:54 +0200
commit86b49ae4482da2b0a566ef9926056888f4652246 (patch)
treee7bd310143f600693c3b630c8aa1c634bc3ba2bf /shell
parent4292764e9e7b5084b64905d863b2fd9ca5632f36 (diff)
downloadbusybox-w32-86b49ae4482da2b0a566ef9926056888f4652246.tar.gz
busybox-w32-86b49ae4482da2b0a566ef9926056888f4652246.tar.bz2
busybox-w32-86b49ae4482da2b0a566ef9926056888f4652246.zip
win32: ash: do not set PPID
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 7482ebf6f..26d72023c 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13248,7 +13248,8 @@ init(void)
13248 } 13248 }
13249 } 13249 }
13250 13250
13251 setvar("PPID", utoa(getppid()), 0); 13251 if (!ENABLE_PLATFORM_MINGW32)
13252 setvar("PPID", utoa(getppid()), 0);
13252 13253
13253 p = lookupvar("PWD"); 13254 p = lookupvar("PWD");
13254 if (p) 13255 if (p)