mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
system: for recovery reasons can't depend on mwexec() #6059
This commit is contained in:
parent
74238dec17
commit
e48fa6539f
@ -270,7 +270,7 @@ function recover_base($etc_group, $etc_master_passwd, $etc_shells, $etc_ttys, $p
|
||||
];
|
||||
|
||||
/* make sure the temporary user does not linger */
|
||||
mwexec('pw userdel installer', true);
|
||||
exec('/usr/sbin/pw userdel installer');
|
||||
|
||||
foreach ($partial_restore as $file => $content) {
|
||||
if (!file_exists($file) || filesize($file) === 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user