GUI/StartupManager.cs
changeset 101 f8589379e32c
parent 82 91edecb084a1
child 104 4a9f8154d8f0
     1.1 --- a/GUI/StartupManager.cs	Mon Apr 26 18:51:22 2010 +0000
     1.2 +++ b/GUI/StartupManager.cs	Mon Apr 26 19:22:42 2010 +0000
     1.3 @@ -64,7 +64,7 @@
     1.4            ITaskFolder folder = scheduler.GetFolder("\\Open Hardware Monitor");
     1.5            IRegisteredTask task = folder.GetTask("Startup");
     1.6            startup = task != null;
     1.7 -        } catch (FileNotFoundException) {
     1.8 +        } catch (IOException) {
     1.9            startup = false;
    1.10          }
    1.11        } else {