mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
[buildmod] non-zero exit code when file not found
Fixes #1226 Close #1227
This commit is contained in:
@@ -55,6 +55,7 @@ do
|
||||
|
||||
if test ! -f "${FILE}"; then
|
||||
echo "${ERROR} Building \"${MOD}\" for ZNC $VERSION... File not found"
|
||||
exit 1
|
||||
else
|
||||
printf "Building \"${MOD}.so\" for ZNC $VERSION... "
|
||||
if ${CXX} ${CXXFLAGS} ${INCLUDES} ${LDFLAGS} ${MODLINK} -o "${MOD}.so" "${FILE}" ${LIBS} ; then
|
||||
|
||||
Reference in New Issue
Block a user