[gnome-terminal] Revert "nautilus: Quote path"



commit 22b85070483f1fef46beca023ae3b0f7dbbd0f06
Author: Christian Persch <chpe src gnome org>
Date:   Tue Oct 1 22:42:58 2019 +0200

    Revert "nautilus: Quote path"
    
    It's already quoted sufficiently.
    
    This reverts commit e0e67232d753b195428e005e80597fbb2c0b8945.

 src/terminal-nautilus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/terminal-nautilus.c b/src/terminal-nautilus.c
index afd46984..b1d642bd 100644
--- a/src/terminal-nautilus.c
+++ b/src/terminal-nautilus.c
@@ -231,7 +231,7 @@ ssh_argv (const char *uri,
   quoted_path = g_shell_quote (path);
 
   /* login shell */
-  argv[argc++] = g_strdup_printf ("cd \"%s\" && exec $SHELL -l", quoted_path);
+  argv[argc++] = g_strdup_printf ("cd %s && exec $SHELL -l", quoted_path);
 
   g_free (path);
   g_free (quoted_path);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]