aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-04-11 14:54:43 (GMT)
committerPaul Kocialkowski <contact@paulk.fr>2016-04-11 14:54:43 (GMT)
commit78a81fcd61ffaa638c3fe5eb91ba5911ad593c98 (patch)
treea749f649cc6b4b60b7cc6f3f2a2e779c57090f1e
parent21aced27f7af7447b19b2017b5afdefbb55b71b3 (diff)
downloadlg-downloader-master.zip
lg-downloader-master.tar.gz
lg-downloader-master.tar.bz2
lg-downloader: Return a proper positive code on errorHEADmaster
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--src/lg-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lg-downloader.c b/src/lg-downloader.c
index 827cc4b..ef584b6 100644
--- a/src/lg-downloader.c
+++ b/src/lg-downloader.c
@@ -327,7 +327,7 @@ int main(int argc, char *argv[])
rc = arguments_parse(&context, argc, argv);
if (rc < 0) {
usage_print();
- return -1;
+ return 1;
}
if (context.operation == 'h') {