diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-23 00:00:21 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-23 00:00:21 +0100 |
commit | ec7094711846696aeef7d499509c2761404d0048 (patch) | |
tree | f860d4337f333aed0f48e29bf96db684e0f155f6 | |
parent | a1c162aac9187af6cfef96fb2dabd7765984eb6c (diff) | |
download | sbotools2-ec7094711846696aeef7d499509c2761404d0048.tar.xz |
update_manpages: return correctly when not running with all switches
-rwxr-xr-x | tools/update_man_pages.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/update_man_pages.sh b/tools/update_man_pages.sh index 694d76f..5a7115d 100755 --- a/tools/update_man_pages.sh +++ b/tools/update_man_pages.sh @@ -118,11 +118,13 @@ update_git() { return 0 } +date_return=0 if [[ "$date" == "true" ]]; then update_date date_return=$? fi +git_return=0 if [[ "$git" == "true" ]]; then update_git git_return=$? |