diff options
author | Vidar Holen <spam@vidarholen.net> | 2016-03-19 16:47:55 -0700 |
---|---|---|
committer | Vidar Holen <spam@vidarholen.net> | 2016-03-19 16:47:55 -0700 |
commit | a5821c3a4d5cf9007721434ca5017b69b69d17dc (patch) | |
tree | d81e36171a5238c9fce34d5b236972105ff8b020 | |
parent | c91083354f765713e719a61909f48d9fa76161d0 (diff) |
s/sh/bash/ in SC2176 because of posix guarantees.
-rw-r--r-- | ShellCheck/Analytics.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index 6f92155..2f749a6 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -1872,7 +1872,7 @@ checkTimedCommand _ = checkUnqualifiedCommand "time" f where f c args@(_:_) = do let cmd = last args when (isPiped cmd) $ - warn (getId c) 2176 "'time' is undefined for pipelines. time single stage or sh -c instead." + warn (getId c) 2176 "'time' is undefined for pipelines. time single stage or bash -c instead." when (isSimple cmd == Just False) $ warn (getId cmd) 2177 "'time' is undefined for compound commands, time sh -c instead." f _ _ = return () |