Skip to content

Commit

Permalink
Fixed exit status for missing files.
Browse files Browse the repository at this point in the history
  • Loading branch information
koalaman committed Aug 3, 2015
1 parent cbda90e commit 47d6801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shellcheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ formats = Map.fromList [
toStatus = liftM (either id (const NoProblems)) . runErrorT

catchExceptions :: IO Status -> IO Status
catchExceptions action = action -- action `catch` handler
catchExceptions action = action `catch` handler
where
handler err = do
printErr $ show (err :: SomeException)
Expand Down

0 comments on commit 47d6801

Please sign in to comment.