From e29d0b8b854c4a5ad87412985ee74d15cfe3604d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 7 Feb 2012 17:13:07 +0100 Subject: [PATCH] dracut-functions: use normal PATH for find_binary --- dracut-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions b/dracut-functions index b6ac9acd..c675e043 100755 --- a/dracut-functions +++ b/dracut-functions @@ -431,7 +431,7 @@ find_binary() { fi fi - PATH="/usr/sbin:/sbin:/usr/bin:/bin" type -P $1 + type -P $1 } # Same as above, but specialized to install binary executables.