Skip to content

Commit 3e255e8

Browse files
author
Philipp Claves
committed
Return zero exit code when successful (or no change), instead of EINVAL.
1 parent aabc187 commit 3e255e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ftx_prog.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,5 @@ int main (int argc, char *argv[])
11281128
ftdi_usb_reset(&ftdi); /* Reset the device to force it to load the new settings */
11291129
}
11301130

1131-
exit(EINVAL);
1132-
return 0; /* never reached */
1131+
return 0;
11331132
}

0 commit comments

Comments
 (0)