diff options
| author | Richard Tollerton <rich.tollerton@ni.com> | 2014-01-21 13:46:46 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 17:54:15 +0000 |
| commit | a1357f3c78e46cd4297fefab56acf87342967132 (patch) | |
| tree | 35872cd429ae65d71a30c1c3e76de45465201a22 /scripts/contrib/dialog-power-control | |
| parent | eb52b257511b7624c8e212f5e9df711935d619ee (diff) | |
| download | openembedded-core-a1357f3c78e46cd4297fefab56acf87342967132.tar.gz openembedded-core-a1357f3c78e46cd4297fefab56acf87342967132.tar.bz2 openembedded-core-a1357f3c78e46cd4297fefab56acf87342967132.zip | |
udev-cache: refactor conditionals and error handling
Most of /etc/init.d/udev-cache is in a conditional block which can be
replaced by a `[ ... ] || exit 0` to reduce nesting.
This also provides an opportunity to add some additional messages
when VERBOSE is set.
Capture and report errors encountered in the cache generation process,
using set -e and trap EXIT. These errors were previously being ignored.
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Diffstat (limited to 'scripts/contrib/dialog-power-control')
0 files changed, 0 insertions, 0 deletions
