Commit ab932a6
committed
core: simplify unit_need_daemon_reload() a bit
And let's make it more accurate: if we have acquire the list of unit drop-ins,
then let's do a full comparison against the old list we already have, and if
things differ in any way, we know we have to reload.
This makes sure we detect changes to drop-in directories in more cases.1 parent 87ec20e commit ab932a6
1 file changed
Lines changed: 10 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2968 | 2968 | | |
2969 | 2969 | | |
2970 | 2970 | | |
2971 | | - | |
2972 | 2971 | | |
2973 | 2972 | | |
2974 | 2973 | | |
2975 | | - | |
2976 | | - | |
| 2974 | + | |
2977 | 2975 | | |
2978 | 2976 | | |
2979 | | - | |
2980 | | - | |
2981 | | - | |
2982 | | - | |
2983 | | - | |
2984 | | - | |
2985 | | - | |
| 2977 | + | |
| 2978 | + | |
2986 | 2979 | | |
2987 | | - | |
2988 | | - | |
2989 | | - | |
2990 | | - | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
2991 | 2983 | | |
2992 | | - | |
2993 | | - | |
2994 | | - | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
2995 | 2987 | | |
2996 | | - | |
| 2988 | + | |
2997 | 2989 | | |
2998 | 2990 | | |
2999 | 2991 | | |
| |||
0 commit comments