diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2020-12-19 19:38:24 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2021-05-18 11:01:33 +0000 |
commit | dd72a087cbea9cf07f7d134f600d45562f58a8fe (patch) | |
tree | c5a1310cf45cae025c1c5a33d357c384d5ec1fb8 | |
parent | 9d18158037a7854bce0b167f69dfbc36539e1c0b (diff) | |
download | qtrepotools-dd72a087cbea9cf07f7d134f600d45562f58a8fe.tar.gz |
gpush: prune pointless return value from close_process()
Change-Id: Ia6d8613a9f3822235d89e4e86b19a4559acfca48
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | bin/git_gpush.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/git_gpush.pm b/bin/git_gpush.pm index 69acdda..562c22c 100644 --- a/bin/git_gpush.pm +++ b/bin/git_gpush.pm @@ -182,7 +182,7 @@ sub close_process($) if ($$process{flags} & DRY_RUN) { $? = 0; - return 0; + return; } my $cmd = $$process{cmd}; if ($$process{stdout}) { @@ -198,7 +198,6 @@ sub close_process($) } elsif ($? && !($$process{flags} & SOFT_FAIL)) { exit($? >> 8); } - return 0; } # Write any number of lines to the process' stdin. |