Skip to content

Commit d452b52

Browse files
author
Till Brehm
committed
Append mysql update errors to the log file instead of overwriting it.
1 parent e2fbdbf commit d452b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/update.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function updateDbAndIni() {
208208
if(in_array($next_db_version,explode(',',$silent_update_versions))) {
209209
$cmd .= ' > /dev/null 2> /dev/null';
210210
} else {
211-
$cmd .= ' > /var/log/ispconfig_install.log 2> /var/log/ispconfig_install.log';
211+
$cmd .= ' >> /var/log/ispconfig_install.log 2>> /var/log/ispconfig_install.log';
212212
}
213213
system($cmd);
214214

0 commit comments

Comments
 (0)