Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
b4a7d4ca
Commit
b4a7d4ca
authored
Jul 27, 2016
by
Till Brehm
Browse files
Avoid postconf -M errors on old postfix versions.
parent
74739bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
b4a7d4ca
...
...
@@ -812,7 +812,7 @@ class installer_base {
public
function
get_postfix_service
(
$service
,
$type
)
{
global
$conf
;
exec
(
"postconf -M"
,
$out
,
$ret
);
exec
(
"postconf -M
2> /dev/null
"
,
$out
,
$ret
);
if
(
$ret
===
0
)
{
//* with postfix >= 2.9 we can detect configured services with postconf
unset
(
$out
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment