--- a/trunk/GoogleContactsSync/Program.cs
+++ b/trunk/GoogleContactsSync/Program.cs
@@ -42,7 +42,7 @@
public static bool IsRunning()
{
mutex = new Mutex(true, MUTEXGUID, out var ok);
- return mutex.WaitOne(TimeSpan.Zero, true) ? false : true;
+ return !mutex.WaitOne(TimeSpan.Zero, true);
}
/// <summary>
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.