summaryrefslogtreecommitdiff
path: root/build_tools/menuselect.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-05-10 10:41:38 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-05-10 10:41:38 +0000
commit97c275d76849a0208e43109624e389fe20414797 (patch)
tree09ca4f3d692958918b56b06dfbefdf12ba69b7a0 /build_tools/menuselect.c
parent298eec4d28c693bcdd8e4b9ebd8120bcbf551ac7 (diff)
provide a correct return value in case everything goes well,
so you won't get random failures running menuselect. Detected by -Wall -Werror git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/menuselect.c')
-rw-r--r--build_tools/menuselect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_tools/menuselect.c b/build_tools/menuselect.c
index b3400ffb8..9705af7fd 100644
--- a/build_tools/menuselect.c
+++ b/build_tools/menuselect.c
@@ -633,6 +633,7 @@ static int sanity_check(void)
}
}
}
+ return 0; /* all good... */
}
/* \brief Set the forced default values if they exist */
@@ -725,5 +726,6 @@ int main(int argc, char *argv[])
if (force_clean)
unlink(".lastclean");
+ fprintf(stderr, "\nmenuselect about to exit with res %d\n", res);
exit(res);
}