This commit is contained in:
Joseph C. Sible 2020-12-28 17:56:25 -05:00
parent 8480563672
commit e7820479f0
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ getCommandNameAndToken direct t = fromMaybe (Nothing, t) $ do
"run" -> firstArg -- Used by bats
"exec" -> do
opts <- getBsdOpts "cla:" args
(_, (t, _)) <- listToMaybe $ filter (null . fst) opts
(_, (t, _)) <- find (null . fst) opts
return t
_ -> fail ""