diff options
| author | typebrook <typebrook@gmail.com> | 2020-03-16 15:03:24 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-03-16 15:03:24 +0800 |
| commit | d0555d2ad1c4aea31e77e381c8cec6fd3fb47239 (patch) | |
| tree | d2c28502cf609826c155116eb2163398d768aa2e | |
| parent | 2d074ee14d4d892c38aff1c88fd6e3d6ca62a7f1 (diff) | |
Remove exit statement
| -rwxr-xr-x | gist | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -646,13 +646,10 @@ case "$1" in | |||
| 646 | shift | 646 | shift |
| 647 | _push_to_remote "$1" ;; | 647 | _push_to_remote "$1" ;; |
| 648 | version) | 648 | version) |
| 649 | echo "Version $currentVersion" | 649 | echo "Version $currentVersion" ;; |
| 650 | exit 0 ;; | ||
| 651 | update) | 650 | update) |
| 652 | checkInternet || exit 1 | 651 | checkInternet || exit 1 |
| 653 | update | 652 | update ;; |
| 654 | exit 0 | ||
| 655 | ;; | ||
| 656 | help | h) | 653 | help | h) |
| 657 | usage ;; | 654 | usage ;; |
| 658 | *) | 655 | *) |