Safe-guard calls to echo with || true.
authorDidier Raboud <odyx@debian.org>
Tue, 22 May 2012 10:54:02 +0000 (12:54 +0200)
committerDidier Raboud <odyx@debian.org>
Tue, 22 May 2012 11:28:00 +0000 (13:28 +0200)
commit6c5b3ff6e324a17e9c982e319a34e1a214257ea6
tree6c7bb031b343704abe5dfb4deaf904d5382e84ed
parentae335d70e4346653b4ab81b27debceb0a5a0f88c
Safe-guard calls to echo with || true.

This helps towards making sure init.d scripts called with `set -e`
continue to work, see #661002.

In particular, this avoids blocking all init.d scripts run on a terminal
where civis and cnorm are capabilities not available, such as cmd.exe .

Thanks-to: Sam Hocevar <sho@debian.org>
init-functions
init-functions.d/20-left-info-blocks
init-functions.d/50-ubuntu-logging