diff options
author | 2016-03-20 14:00:24 -0300 | |
---|---|---|
committer | 2016-03-20 14:00:24 -0300 | |
commit | 5f43f3c73fc61b46b39dfdd41e2b5418fdba2f7b (patch) | |
tree | b726657220edc0ff7af842a75cecaf5c70623f73 /src/firejail | |
parent | fixed symlinks for private-bin (diff) | |
download | firejail-5f43f3c73fc61b46b39dfdd41e2b5418fdba2f7b.tar.gz firejail-5f43f3c73fc61b46b39dfdd41e2b5418fdba2f7b.tar.zst firejail-5f43f3c73fc61b46b39dfdd41e2b5418fdba2f7b.zip |
fs_etc: continue to copy files if one fails.
Diffstat (limited to 'src/firejail')
-rw-r--r-- | src/firejail/fs_etc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/fs_etc.c b/src/firejail/fs_etc.c index bb33b4c76..1a44b1305 100644 --- a/src/firejail/fs_etc.c +++ b/src/firejail/fs_etc.c | |||
@@ -96,7 +96,8 @@ static void duplicate(char *fname) { | |||
96 | if (arg_debug) | 96 | if (arg_debug) |
97 | printf("%s\n", cmd); | 97 | printf("%s\n", cmd); |
98 | if (system(cmd)) | 98 | if (system(cmd)) |
99 | errExit("system cp -a --parents"); | 99 | fprintf(stderr, "Warning (fs_etc): error copying file /etc/%s, skipping...\n", fname); |
100 | |||
100 | free(cmd); | 101 | free(cmd); |
101 | 102 | ||
102 | char *name; | 103 | char *name; |