Update or remove patches
[rrq/maintain_lilo.git] / debian / patches / 06_notinteractive.patch
1 Package:     lilo
2 Subject:     notinteractive for debian
3 Author:      Joachim Wiedorn <ad_debian at joonet.de>
4 Forwarded:   no
5 Last-Update: 2011-05-06
6
7 ---
8
9 diff -urN s05/src/device.c s06/src/device.c
10 --- s05/src/device.c    2011-04-09 17:03:29.000000000 +0200
11 +++ s06/src/device.c    2011-05-06 17:37:44.716712084 +0200
12 @@ -846,7 +846,9 @@
13  "This caution does not apply to Windows 95 or 98, or to NT data disks.\n"
14                                 , vm->name, MAJOR(dev), MINOR(dev), dev);
15                                         
16 -                                       
17 +    if (test)
18 +       return 0;
19 +
20      ret = yesno("\nIs the above disk an NT boot disk? ", 1);
21  
22      if (ret && fatal) {