]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Fix return code when getting patch information fails
authorAli Alnubani <alialnu@mellanox.com>
Tue, 8 Jan 2019 12:38:45 +0000 (12:38 +0000)
committerStephen Finucane <stephen@that.guru>
Mon, 25 Feb 2019 10:15:43 +0000 (10:15 +0000)
commitbc7810e241e27c1c0476145e665da5d156253e1a
tree67985e9053a5fd65db052da2df2f09f83ccbf43e
parent191eb709c4d75638e559bacdcac80c0d856da9ae
Fix return code when getting patch information fails

The `info` command always exits with success, even if
the patch didn't exist.
Modified to exit with a non-zero exit status and
print an error message in that case.

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/bin/pwclient