summaryrefslogtreecommitdiffstats
path: root/meta/packages/insserv/files/42_loopnochangemsg.dpatch
blob: 4a15f5831296160d2e63f6ed5be6f78b4701944f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## 40_loopnochangemsg.dpatch by Petter Reinholdtsen

Make it more obvious that introducing a loop will not change the
existing boot sequence.  Thanks to Frans Pop for the rationale for
this change.

@DPATCH@

--- insserv-1.11.0.orig/insserv.c
+++ insserv-1.11.0/insserv.c
@@ -2647,7 +2647,7 @@
     follow_all();
 
     if (is_loop_detected() && !ignore)
-	error("exiting now!\n");
+	error("exiting without changing boot order!\n");
 
     /*
      * Re-order some well known scripts to get