diff options
Diffstat (limited to 'debianutils/which.c')
-rw-r--r-- | debianutils/which.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c index 2c71ed3..b556a9f 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++; |