pmt: initial 2.4.0 update

This commit is contained in:
2024-07-09 19:26:18 +03:00
parent 4dd49c2509
commit 964d9b5426
21 changed files with 487 additions and 313 deletions

View File

@@ -34,10 +34,7 @@ void check_root(void)
{
/* a quick, easy method for verifying root */
if (getuid() != 0)
{
if (!pmt_force_mode) error(1, "%s", current->no_root);
else exit(1);
}
LOGE("%s\n", current->no_root);
}
#if defined(__cplusplus)