summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 14:23:34 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 14:23:34 +0200
commitfd06b1d4662cecbfa90f559305698f318398371b (patch)
treeb93327f00af5b9a9e822602e69a440931010cbbc
parent914b78a58f5dc668bbe6106e366a3bb18813cfbb (diff)
downloadmblaze-fd06b1d4662cecbfa90f559305698f318398371b.tar.gz
mblaze-fd06b1d4662cecbfa90f559305698f318398371b.tar.xz
mblaze-fd06b1d4662cecbfa90f559305698f318398371b.zip
seq: exit with 2 on fatal parsing error
-rw-r--r--seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/seq.c b/seq.c
index d30e4ee..461a484 100644
--- a/seq.c
+++ b/seq.c
@@ -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);
 		}
 	}