2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

Fix github issue #2560, fix the exit code of postscript syncfiles

This commit is contained in:
GONG Jie
2017-03-01 15:34:07 +08:00
parent 09115e646d
commit 3d657a6b75

View File

@ -38,6 +38,7 @@ xcatpostdir="/xcatpost"
logger -t xcat -p local4.info "$0: the OS name = $osname"
quit="no"
count=5
returncode=0
while [ $quit = "no" ]; do
if [ $osname = "Linux" ]
then
@ -66,5 +67,4 @@ else
logger -t xcat -p local4.err "$0: Perform Syncing File action encountered error"
fi
exit 0
[ $returncode -eq 0 ]