Fix merge typo
authorAlexis Christoforides <alexis@thenull.net>
Thu, 11 Dec 2014 21:00:40 +0000 (16:00 -0500)
committerAlexis Christoforides <alexis@thenull.net>
Thu, 11 Dec 2014 21:00:40 +0000 (16:00 -0500)
mcs/class/System/System.IO/KeventWatcher.cs

index 428e0426e61f727eb32770bec3e51d4fbc904625..044382b7ef61d8b2e3acebbb3f5bf85c0df67c83 100644 (file)
@@ -254,11 +254,12 @@ namespace System.IO {
                        if (exc != null) {
                                fsw.OnError (new ErrorEventArgs (exc));
                                return;
+                       }
 
                        try {
                                Monitor ();
                        } catch (Exception e) {
-                               monitorExc = e;
+                               exc = e;
                        } finally {
                                CleanUp ();
                                if (!requestStop) { // failure