runltp出现问题 [

runltp 623行:

if [ "$?" == "0" ]; then

对[解析出了问题。

我灵机一动,是不是sh的问题。

which sh

/bin/sh

ls -l /bin/sh

sh指向dash

果然不对

rm后

ln -s /bin/bash /bin/sh

再次运行,正确。

原文地址:https://www.cnblogs.com/idyllcheung/p/11046952.html