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:
@ -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 ]
|
||||
|
Reference in New Issue
Block a user