summary refs log tree commit diff
path: root/xe.c
diff options
context:
space:
mode:
Diffstat (limited to 'xe.c')
-rw-r--r--xe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xe.c b/xe.c
index df8f50d..4a62df3 100644
--- a/xe.c
+++ b/xe.c
@@ -346,7 +346,9 @@ parse_jobs(char *s)
 			n = 1;
 	} else
 #endif
-	{
+	if (strcmp(s, "j") == 0) {
+		n = -1;
+	} else {
 		errno = 0;
 		n = strtol(s, &e, 10);
 		if (errno != 0 || *e) {