diff --git a/src/apps/SettingsWindow/src/AppDelegate.swift b/src/apps/SettingsWindow/src/AppDelegate.swift index 2dc5a7fe3..3c583c999 100644 --- a/src/apps/SettingsWindow/src/AppDelegate.swift +++ b/src/apps/SettingsWindow/src/AppDelegate.swift @@ -61,7 +61,8 @@ public class AppDelegate: NSObject, NSApplicationDelegate { switch command { case "checkForUpdatesInBackground": #if USE_SPARKLE - if !libkrbn_lock_single_application_with_user_pid_file("check_for_updates_in_background.pid") + if !libkrbn_lock_single_application_with_user_pid_file( + "check_for_updates_in_background.pid") { print("Exit since another process is running.") NSApplication.shared.terminate(self)