0) then echo "ERROR" />
红联Linux门户
Linux帮助

请教 关于$STATUS

发布时间:2009-03-29 13:03:16来源:红联作者:zach_shi
我想在linux服务器上装个软件,有个安装文件上面写着

set file = A.tar.gz
if ($status > 0) then
echo "ERROR: Could not find $file"
set exitstat =1
end if

set file = B.tar.gz
if ($status > 0) then
echo "ERROR: Could not find $file"
set exitstat =1

安装之前看了下$status 是0,安装失败时提示找不到B.tar.gz, 而且$status变成了1
A和B文件都是存在的

该怎么办呢? 谢谢!
文章评论

共有 0 条评论