seq: exit with 2 on fatal parsing error

This commit is contained in:
Christian Neukirchen 2016-08-08 14:23:34 +02:00
parent 914b78a58f
commit fd06b1d466

2
seq.c
View File

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