diff options
Diffstat (limited to 'src/firejail/fs_bin.c')
-rw-r--r-- | src/firejail/fs_bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_bin.c b/src/firejail/fs_bin.c index 668223755..0105716b2 100644 --- a/src/firejail/fs_bin.c +++ b/src/firejail/fs_bin.c | |||
@@ -137,7 +137,7 @@ static void duplicate(char *fname) { | |||
137 | char *actual_path = realpath(full_path, NULL); | 137 | char *actual_path = realpath(full_path, NULL); |
138 | if (actual_path) { | 138 | if (actual_path) { |
139 | // copy the file | 139 | // copy the file |
140 | if (asprintf(&cmd, "cp -a %s %s/%s", actual_path, BIN_DIR, fname) == -1) | 140 | if (asprintf(&cmd, "%s -a %s %s/%s", CP_COMMAND, actual_path, BIN_DIR, fname) == -1) |
141 | errExit("asprintf"); | 141 | errExit("asprintf"); |
142 | if (arg_debug) | 142 | if (arg_debug) |
143 | printf("%s\n", cmd); | 143 | printf("%s\n", cmd); |