]> git.saurik.com Git - cycript.git/commitdiff
Actually, non-terminal attachment now works fine.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Jan 2014 16:52:52 +0000 (08:52 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Jan 2014 16:52:52 +0000 (08:52 -0800)
Console.cpp

index 9d3d65a91b5b25f08ef331d60102daa80a180ee8..d91e6d4766c9c20d2caea7f690c2ca3b57caeb4d 100644 (file)
@@ -793,13 +793,6 @@ int Main(int argc, char const * const argv[], char const * const envp[]) {
             script = NULL;
     }
 
-#ifdef CY_ATTACH
-    if (pid != _not(pid_t) && script == NULL && !tty) {
-        fprintf(stderr, "non-terminal attaching to remote console\n");
-        return 1;
-    }
-#endif
-
 #ifdef CY_ATTACH
     if (pid == _not(pid_t))
         client_ = -1;