Add check before calling rmitab.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-03-24 15:07:45 +00:00
parent c0b9d01cb3
commit 48aa987922

View File

@ -128,6 +128,9 @@ fi
%postun
%ifnos linux
/usr/sbin/rmitab xcatd
if grep "^xcatd" /etc/inittab >/dev/null
then
/usr/sbin/rmitab xcatd >/dev/null
fi
%endif