Commit 22478ced authored by Mike Hibler's avatar Mike Hibler

bash function needs to return 0 or it throws an error killing the script.

parent c30b122e
...@@ -184,10 +184,11 @@ postprocessing() ...@@ -184,10 +184,11 @@ postprocessing()
[[ -f /tmp/nodecheck.log.inv ]] && rm /tmp/nodecheck.log.inv [[ -f /tmp/nodecheck.log.inv ]] && rm /tmp/nodecheck.log.inv
[[ -f /tmp/nodecheck.log.tb.new ]] && rm /tmp/nodecheck.log.tb.new [[ -f /tmp/nodecheck.log.tb.new ]] && rm /tmp/nodecheck.log.tb.new
[[ -f /tmp/nodecheck.diff ]] && rm /tmp/nodecheck.diff [[ -f /tmp/nodecheck.diff ]] && rm /tmp/nodecheck.diff
return 0
} }
initialize $@ initialize $@
(( $mfsmode )) && gatherinv_main $@ || nodecheck_main $@ (( $mfsmode )) && gatherinv_main $@ || nodecheck_main $@
postprocessing postprocessing
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment