diff options
Diffstat (limited to 'Build/TestConfig.hs')
-rw-r--r-- | Build/TestConfig.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/TestConfig.hs b/Build/TestConfig.hs index 2f7213f..988db58 100644 --- a/Build/TestConfig.hs +++ b/Build/TestConfig.hs @@ -97,7 +97,7 @@ searchCmd success failure cmdsparams = search cmdsparams - the command. -} findCmdPath :: ConfigKey -> String -> Test findCmdPath k command = do - ifM (inPath command) + ifM (inSearchPath command) ( return $ Config k $ MaybeStringConfig $ Just command , do r <- getM find ["/usr/sbin", "/sbin", "/usr/local/sbin"] |