diff options
-rw-r--r-- | src/firejail/fs_home.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_home.c b/src/firejail/fs_home.c index 2df48ffbb..21a2e83e5 100644 --- a/src/firejail/fs_home.c +++ b/src/firejail/fs_home.c | |||
@@ -370,7 +370,7 @@ static void duplicate(char *name) { | |||
370 | } | 370 | } |
371 | 371 | ||
372 | // copy the file | 372 | // copy the file |
373 | if (asprintf(&cmd, "cp -a --parents %s %s", fname, HOME_DIR) == -1) | 373 | if (asprintf(&cmd, "cp -a --parents \"%s\" %s", fname, HOME_DIR) == -1) |
374 | errExit("asprintf"); | 374 | errExit("asprintf"); |
375 | if (arg_debug) | 375 | if (arg_debug) |
376 | printf("%s\n", cmd); | 376 | printf("%s\n", cmd); |