policy-rc.d: Define default behavior(return code)
... to avoid the warning triggered by logrotate, which was reported in the bug. /etc/cron.daily/logrotate: invoke-rc.d: policy-rc.d query returned "behaviour undefined", invoke-rc.d: assuming "rotate" is allowed. invoke-rc.d: policy-rc.d query returned "behaviour undefined", invoke-rc.d: assuming "rotate" is allowed. Partial-Bug: #1873030 Change-Id: Icc0c12a6a66d3eb6f655ba1145ba372d5b1d2d43
This commit is contained in:
parent
0f5dcbc909
commit
c6a08eaf8d
@ -37,7 +37,7 @@ then
|
||||
exit 101
|
||||
fi
|
||||
|
||||
|
||||
exit 0
|
||||
eof
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ then
|
||||
exit 101
|
||||
fi
|
||||
|
||||
|
||||
exit 0
|
||||
eof
|
||||
}
|
||||
|
||||
|
@ -5,4 +5,4 @@ then
|
||||
exit 101
|
||||
fi
|
||||
<% end %>
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user