Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
* common:
FIX: fix build of the trie from an unsorted string list FRU
+ * postlicyd:
+ NEW: 'check-configuration' option FRU
+
------------------------------------------------------------------------------
version 0.4 Oct 17, 2008
mkdir -p `dirname "$PIDFILE"` || die "Can't create $PIDFILE"
do_checkconf() {
- $POSTLICYD -c "$CONF" &> /dev/null
+ $POSTLICYD -c "$CONF"
return "$?"
}
return EXIT_FAILURE;
}
- info("%s v%s...", DAEMON_NAME, DAEMON_VERSION);
if (check_conf) {
return config_check(argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE;
}
+ info("%s v%s...", DAEMON_NAME, DAEMON_VERSION);
if (pidfile_open(pidfile) < 0) {
crit("unable to write pidfile %s", pidfile);