summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/job.c b/job.c
index f650a53..cb10f64 100644
--- a/job.c
+++ b/job.c
@@ -1233,6 +1233,8 @@ start_job_command (struct child *child)
{
if (*s == '"')
instring = !instring;
+ else if (*s == '\\' && !instring && *(s+1) != 0)
+ s++;
else if (*s == '\n' && !instring)
{
end = s;