Explorar o código

little update

Nothing to do here.
Deben Oldert %!s(int64=11) %!d(string=hai) anos
pai
achega
ed668737af
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      captiveportal/Command.java

+ 6 - 1
captiveportal/Command.java

@@ -14,7 +14,12 @@ public class Command {
     	    while((line = is.readLine()) != null){
     	        System.out.println(line);
     	    }
-    	    return true;
+    	    if((line = is.readLine()) == "SUCCES") {
+    	    	return true;
+    	    }
+    	    else {
+    	    return true;	
+    	    }
 			} catch ( Exception err ) {
 				err.printStackTrace();
 				return false;