[gnome-terminal] nautilus: Quote path
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] nautilus: Quote path
- Date: Mon, 30 Sep 2019 20:52:02 +0000 (UTC)
commit e0e67232d753b195428e005e80597fbb2c0b8945
Author: Christian Persch <chpe src gnome org>
Date: Mon Sep 30 22:51:43 2019 +0200
nautilus: Quote path
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 b1d642bd..afd46984 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]