]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxplink.c
New command-line option in Plink (and PuTTY, though it's less useful
[PuTTY.git] / unix / uxplink.c
index 38129f968b0e637ada6c36bb3a5a0e1c57b00b8f..1d3db4c26f253f8b82bc31d4725b176180e9c403 100644 (file)
@@ -813,7 +813,7 @@ int main(int argc, char **argv)
        cfg.host[p1] = '\0';
     }
 
-    if (!cfg.remote_cmd_ptr && !*cfg.remote_cmd)
+    if (!cfg.remote_cmd_ptr && !*cfg.remote_cmd && !*cfg.ssh_nc_host)
        flags |= FLAG_INTERACTIVE;
 
     /*