mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-28 12:09:48 +01:00
fixes
This commit is contained in:
1 parent
c9537d7a46
commit
e196349b2f
1 file changed
+4
-3
+4
-3
@@ -95,10 +95,10 @@ int main(int argc, char *argv[]) {
|
|||||||
pthread_create(&dfuhelper_thread, NULL, dfuhelper, NULL);
|
pthread_create(&dfuhelper_thread, NULL, dfuhelper, NULL);
|
||||||
pthread_join(dfuhelper_thread, NULL);
|
pthread_join(dfuhelper_thread, NULL);
|
||||||
if (dfuhelper_only)
|
if (dfuhelper_only)
|
||||||
return 0;
|
goto normal_exit;
|
||||||
exec_checkra1n();
|
exec_checkra1n();
|
||||||
if (pongo_exit)
|
if (pongo_exit || demote)
|
||||||
return 0;
|
goto normal_exit;
|
||||||
pongo:
|
pongo:
|
||||||
spin = true;
|
spin = true;
|
||||||
if (do_pongo_sleep)
|
if (do_pongo_sleep)
|
||||||
@@ -110,6 +110,7 @@ pongo:
|
|||||||
{
|
{
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
|
normal_exit:
|
||||||
if (access("/usr/bin/curl", F_OK) == 0 && ohio) {
|
if (access("/usr/bin/curl", F_OK) == 0 && ohio) {
|
||||||
LOG(LOG_VERBOSE4, "Ohio");
|
LOG(LOG_VERBOSE4, "Ohio");
|
||||||
char* ohio_argv[] = {
|
char* ohio_argv[] = {
|
||||||
|
|||||||
Reference in new issue
Block a user