mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
perhaps better error logging if mailbox_postpassword_script fails
This commit is contained in:
1 parent
336259957d
commit
84ad0ebec7
1 file changed
+1
-1
+1
-1
@@ -137,7 +137,7 @@ class Login {
|
||||
$firstline='';
|
||||
$firstline=exec($command, $output, $retval);
|
||||
if (0 != $retval) {
|
||||
error_log("Running $command yielded return value=$retval, first line of output=$firstline");
|
||||
error_log("Running $command yielded return value=$retval, output was: " . json_encode($output));
|
||||
throw new \Exception($warnmsg_pw);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user