add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f79c088a43
commit
df8450cf20
@ -13,5 +13,8 @@ POST_DIR=$(tabdb $NODERESTAB $RESNAME $noderes_install_dir)/$POSTDIR
|
||||
|
||||
logger -t xcat -p local4.info "Install: mounting /post"
|
||||
mkdir /post 2>&1 | logger -t xcat -p local4.info
|
||||
mount -r -o nolock $NFS:$POST_DIR /post 2>&1 | logger -t xcat -p local4.info
|
||||
result=`mount -r -o nolock $NFS:$POST_DIR /post 2>&1`
|
||||
RETURNCODE=$?
|
||||
logger -t xcat -p local4.info $result
|
||||
exit $RETURNCODE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user