mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
[debsecan] More verbose errors
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
35cf684e24
commit
475c6ae9da
1 changed files with 2 additions and 1 deletions
|
@ -37,13 +37,14 @@ if [ "$1" = "autoconf" ] ; then
|
||||||
if [ -x /usr/bin/debsecan ]; then
|
if [ -x /usr/bin/debsecan ]; then
|
||||||
echo yes
|
echo yes
|
||||||
else
|
else
|
||||||
echo no
|
echo 'no (/usr/bin/debsecan not found)'
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fail if we don't have debsecan
|
# Fail if we don't have debsecan
|
||||||
if [ ! -x /usr/bin/debsecan ]; then
|
if [ ! -x /usr/bin/debsecan ]; then
|
||||||
|
echo 'error: /usr/bin/debsecan not found' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue