- return correct exit code when environment is not correctly set up
This commit is contained in:
parent
d30f90b1ed
commit
44a8fc38a5
@ -84,12 +84,12 @@ elif [ "$1" == "autoconf" ]; then
|
|||||||
|
|
||||||
if [ x${hosts} == x ]; then
|
if [ x${hosts} == x ]; then
|
||||||
echo "no (env.hosts is not defined)"
|
echo "no (env.hosts is not defined)"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x${interface} == x ]; then
|
if [ x${interface} == x ]; then
|
||||||
echo "no (env.interface is not defined)"
|
echo "no (env.interface is not defined)"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### check env vars and return no if not set properly
|
### check env vars and return no if not set properly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user