summaryrefslogtreecommitdiffstats
path: root/pony_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pony_spi.c')
-rw-r--r--pony_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pony_spi.c b/pony_spi.c
index 101751f..2a3666f 100644
--- a/pony_spi.c
+++ b/pony_spi.c
@@ -140,6 +140,7 @@ int pony_spi_init(void)
} else if (arg && !strlen(arg)) {
msg_perr("Error: Missing argument for programmer type.\n");
free(arg);
+ return 1;
} else if (arg){
msg_perr("Error: Invalid programmer type specified.\n");
free(arg);
OpenPOWER on IntegriCloud