File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 362362 $ inst ->install_crontab ();
363363
364364 swriteln ('Restarting services ... ' );
365- if ($ conf ['mysql ' ]['installed ' ] == true && $ conf ['mysql ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['mysql ' ]['init_script ' ], 'restart ' ));
365+ if ($ conf ['mysql ' ]['installed ' ] == true && $ conf ['mysql ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['mysql ' ]['init_script ' ], 'restart ' ). ' >/dev/null 2>&1 ' );
366366 if ($ conf ['postfix ' ]['installed ' ] == true && $ conf ['postfix ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['postfix ' ]['init_script ' ], 'restart ' ));
367367 if ($ conf ['saslauthd ' ]['installed ' ] == true && $ conf ['saslauthd ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['saslauthd ' ]['init_script ' ], 'restart ' ));
368368 if ($ conf ['amavis ' ]['installed ' ] == true && $ conf ['amavis ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['amavis ' ]['init_script ' ], 'restart ' ));
Original file line number Diff line number Diff line change 5757
5858exec ("/etc/init.d/mysql stop " );
5959exec ("rm -rf /var/lib/mysql/ " .$ conf ["db_database " ]);
60- exec ("/etc/init.d/mysql start " );
60+ exec ("/etc/init.d/mysql start >/dev/null 2>&1 " );
6161
6262// Deleting the symlink in /var/www
6363// Apache
You can’t perform that action at this time.
0 commit comments