[OpenWrt-Devel] time command detect fail on centos

Jon Burgess jburgess777 at gmail.com
Sat Jul 7 12:11:38 EDT 2018


On Sat, 2018-07-07 at 16:23 +0800, 李国 wrote:
> Hi Etienne Champetier
> 
> time command detect fail on centos.
> 
> time is a keyword of bash on centos 6 and centos 7, and it not accept
> --version option, this makes time --version 2>&1 | grep GNU  always
> fail.

Does using \time instead help?

  Jon

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list