From 5b1d8ee52be32f1f4de70bc04c607f8287d03a31 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Thu, 14 May 2020 13:27:39 +0300 Subject: [PATCH] Allow to return no defaults https://github.com/virtualmin/virtualmin-gpl/commit/ae6332c0b72362bf24b9775a53bb162c46c3a152 --- 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 5d73a17ce..835278ed0 100755 --- a/postfix/postfix-lib.pl +++ b/postfix/postfix-lib.pl @@ -125,7 +125,7 @@ foreach my $l (@$lref) { last; } } -if (!defined($out)) { +if (!defined($out) && !$_[1]) { # Fall back to asking Postfix # -h tells postconf not to output the name of the parameter $out = &backquote_command("$config{'postfix_config_command'} -c $config_dir -h ".