mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
system: this is way cooler for console
This commit is contained in:
parent
aa3523263d
commit
dd1376df62
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user