--- job.c	Sun Jul  9 16:37:50 2000
+++ job.c.mine	Wed Oct 18 17:41:36 2000
@@ -3102,7 +3102,7 @@
       argv = construct_command_argv_internal (converted_line, restp, shell, ifs, batch_filename_ptr);
 
       /* Point restp back into the original command, if appropriate. */
-      if (*restp)
+      if (restp && *restp)
 	{
 	  for (l = line, cl = converted_line; *l != 0 && cl != *restp; cl++, l++)
 	    if (*l == '\\' && l[1] != '\n')
