Skip to content

Commit 3d9a6b2

Browse files
committed
Fix issue when checking logon task
1 parent 3f93d18 commit 3d9a6b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Flow.Launcher/Helper/AutoStartup.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ private static bool CheckLogonTask()
5656
UnscheduleLogonTask();
5757
ScheduleLogonTask();
5858
}
59+
60+
return true;
5961
}
6062
catch (Exception)
6163
{
6264
Log.Error("AutoStartup", "Failed to check logon task");
63-
return false;
6465
}
6566
}
6667

67-
return true;
68+
return false;
6869
}
6970

7071
public static void Disable(bool logonTask)

0 commit comments

Comments
 (0)