diff options
author | 2015-09-16 18:08:20 -0400 | |
---|---|---|
committer | 2015-09-16 18:08:20 -0400 | |
commit | e86168336cc7607d4bd9db59f334e51e0bcd8b03 (patch) | |
tree | a6b81399131365d7298ccec6a66f6a1be2a8632e /src | |
parent | Default profiles work (diff) | |
download | firejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.tar.gz firejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.tar.zst firejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.zip |
fix for issue #64
Diffstat (limited to 'src')
-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); |