refact(dist): avoid script exit while restarting & clean script by imbajin · Pull Request #2041 · apache/hugegraph

@@             Coverage Diff              @@
##             master    #2041      +/-   ##
============================================
- Coverage     65.89%   62.38%   -3.51%     
- Complexity      974      976       +2     
============================================
  Files           482      482              
  Lines         41458    41458              
  Branches       5889     5889              
============================================
- Hits          27319    25864    -1455     
- Misses        11437    13046    +1609     
+ Partials       2702     2548     -154     

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more