From d64dcfc1d79e03884fdf9b3ddcecf9e152ca426e Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 5 Jun 2007 00:39:37 +0000 Subject: [PATCH] Don't fail table rebuild unless postmap fails --- postfix/postfix-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/postfix-lib.pl b/postfix/postfix-lib.pl index b00d9360a..788337e68 100644 --- a/postfix/postfix-lib.pl +++ b/postfix/postfix-lib.pl @@ -562,7 +562,7 @@ sub regenerate_any_table { next unless $map; local $out = &backquote_logged("$config{'postfix_lookup_table_command'} -c $config_dir $map 2>&1"); - if ($out) { &error(&text('regenerate_table_efailed', $map, $out)); } + if ($?) { &error(&text('regenerate_table_efailed', $map, $out)); } } }