seq: exit with 2 on fatal parsing error

pull/2/head
Christian Neukirchen 8 years ago
parent 914b78a58f
commit fd06b1d466

@ -189,7 +189,7 @@ parse_relnum(char *a, long cur, long last, long *out)
d = strtol(a, &b, 10); d = strtol(a, &b, 10);
if (errno != 0) { if (errno != 0) {
perror("strtol"); perror("strtol");
exit(1); exit(2);
} }
} }

Loading…
Cancel
Save