求缘故:运行shell脚本语句未执行?

求缘故:运行shell脚本语句未执行?

求原因:运行shell脚本语句未执行???
在uninstall_BBSBlog这个shell脚本中
#
# stop the BBSBlog service
#
service BBSBlog stop &&
echo "stop the BBSBlog ok" |
tee -a uninstall_BBSBlog.log ||
echo "stop the KDMonitor failed" |
tee -a uninstall_BBSBlog .log | exit
BBSBlog 是我安装在/etc/int.d/下的自启动服务
这段代码一定会有打印的,但是log文件中什么都没打印?为什么呢?


考虑相对路径与绝对路径问题。

求缘故:运行shell脚本语句未执行?

相关文章:

你感兴趣的文章:

标签云: