]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-macosx.mm
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / os-macosx.mm
index bb008567226774aab4c6077e2945c45cde8a0876..71c70f7a489cf505f1a90c4e7c5a317c64a5e83e 100644 (file)
@@ -43,10 +43,6 @@ const char* default_image_path(void) {
     NSString* root = [path stringByDeletingLastPathComponent];
     NSString* resources = [path stringByAppendingPathComponent:@"Contents/Resources"];
 
-    if (!isatty(fileno(stdin))) {
-        [mgr changeCurrentDirectoryPath: root];
-    }
-
     NSString* imageInBundle = [resources stringByAppendingPathComponent:image];
     NSString* imageAlongBundle = [root stringByAppendingPathComponent:image];