aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 61b6edd..32362df 100644
--- a/src/lg-downloader.c
+++ b/src/lg-downloader.c
@@ -318,7 +318,7 @@ int main(int argc, char *argv[])
rc = arguments_parse(&context, argc, argv);
if (rc < 0) {
usage_print();
- goto error;
+ return -1;
}
printf("Finding and opening USB device\n");