Do not show missing vpdudpate error message defect 3383825
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a8668a8ce9
commit
2e79ba2ebd
@ -17,14 +17,9 @@
|
||||
|
||||
update_VPD()
|
||||
{
|
||||
which vpdupdate > /dev/null
|
||||
|
||||
if [ $? -ne 0 ];then
|
||||
echo "Command vpdupdate not found, VPD database won't be updated"
|
||||
logger -t xCAT "xcatdsklspost: Command vpdupdate not found, VPD database won't be updated"
|
||||
else
|
||||
if [ -f /usr/sbin/vpdupdate ]; then
|
||||
vpdupdate
|
||||
logger -t xCAT "xcatdsklspost: updating VPD database"
|
||||
logger -t xCAT "xcatdsklspost: updating VPD database"
|
||||
fi
|
||||
}
|
||||
update_VPD
|
||||
|
Loading…
Reference in New Issue
Block a user