mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #2570 from neo954/issue2560-syncfiles
Fix the exit code of postscript `syncfiles`
This commit is contained in:
commit
25b21f28b0
@ -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 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user