On Fri, May 07, 2010 at 08:19:20AM +0200, Petter Reinholdtsen wrote: > Hi, Werner. Take a look at <URL: http://bugs.debian.org/580564 >. > I've verified this with our test suite, and insserv no longer > understand the X-Interactive: true header. This test suite function > fail: >
Please try out the attached patch Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
Index: insserv.c =================================================================== --- insserv.c (revision 88) +++ insserv.c (working copy) @@ -1388,10 +1388,10 @@ description = empty; } - if (!interactive && regexecutor(®.interact, COMMON_ARGS) == true) { - if (val->rm_so < val->rm_eo) { - *(pbuf+val->rm_eo) = '\0'; - interactive = xstrdup(pbuf+val->rm_so); + if (!interactive && regexecutor(®.interact, COMMON_SHD_ARGS) == true) { + if (shl->rm_so < shl->rm_eo) { + *(pbuf+shl->rm_eo) = '\0'; + interactive = xstrdup(pbuf+shl->rm_so); } else interactive = empty; }