aboutsummaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/which.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 2c71ed32d..b556a9fd9 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -22,9 +22,11 @@ int which_main(int argc, char **argv)
bb_show_usage();
}
+/* We shouldn't do this. Ever. Not our business.
if (!getenv("PATH")) {
- setenv("PATH", "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin", 1);
+ putenv((char*)bb_PATH_root_path);
}
+*/
while (--argc > 0) {
argv++;