From 6446c2d4aba02eef0d8553c882f8d235288a66d9 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 25 Nov 2007 04:54:13 +0000 Subject: which: fix testsuite failure pidof: do not output empty line if nothing found testsuite: disable false positive --- debianutils/which.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debianutils/which.c') diff --git a/debianutils/which.c b/debianutils/which.c index 883813059..5ab67194d 100644 --- a/debianutils/which.c +++ b/debianutils/which.c @@ -22,11 +22,11 @@ int which_main(int argc, char **argv) bb_show_usage(); } -/* We shouldn't do this. Ever. Not our business. + /* This matches what is seen on e.g. ubuntu + * "which" there is a shell script */ if (!getenv("PATH")) { putenv((char*)bb_PATH_root_path); } -*/ while (--argc > 0) { argv++; -- cgit v1.2.3