Allow inline execution of exert without having to specify variable

IE: loads.txt is not being generated correctly on 6.6-rc1
This commit is contained in:
Squidly271
2018-09-02 16:53:46 -04:00
committed by GitHub
parent e55ea90f59
commit abf821b745
+1
View File
@@ -25,6 +25,7 @@ $folders = ['/boot','/boot/config','/boot/config/plugins','/boot/extra','/boot/s
function exert($cmd, &$save=null) {
// execute command with timeout of 30s
exec("timeout -s9 30 $cmd", $save);
return implode("\n",$save);
}
function anonymize($text,$select) {