system: this is way cooler for console

This commit is contained in:
Franco Fichtner 2018-06-13 15:58:19 +02:00
parent aa3523263d
commit dd1376df62

View File

@ -938,7 +938,7 @@ function system_halt($sync = false)
if (!$sync) {
mwexec_bg($cmd);
} else {
mwexec($cmd);
passthru($cmd);
}
}
@ -949,7 +949,7 @@ function system_reboot($sync = false)
if (!$sync) {
mwexec_bg($cmd);
} else {
mwexec($cmd);
passthru($cmd);
}
}