aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/fs_trace.c
diff options
context:
space:
mode:
authorLibravatar Glenn Washburn <development@efficientek.com>2018-10-13 03:04:03 -0500
committerLibravatar Glenn Washburn <development@efficientek.com>2018-10-13 03:07:14 -0500
commit4017e8a1359208e149b2eac10900987acd4a6f9e (patch)
tree261a276a6dea514735bf6206ce35236b70e59d00 /src/firejail/fs_trace.c
parentMerges (diff)
downloadfirejail-4017e8a1359208e149b2eac10900987acd4a6f9e.tar.gz
firejail-4017e8a1359208e149b2eac10900987acd4a6f9e.tar.zst
firejail-4017e8a1359208e149b2eac10900987acd4a6f9e.zip
Fix issue #2148: Make sure firejail can find helper programs in sandbox regardless of options.
Diffstat (limited to 'src/firejail/fs_trace.c')
-rw-r--r--src/firejail/fs_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_trace.c b/src/firejail/fs_trace.c
index 38ab7e2f8..00c1e3d15 100644
--- a/src/firejail/fs_trace.c
+++ b/src/firejail/fs_trace.c
@@ -51,7 +51,7 @@ void fs_trace(void) {
51 FILE *fp = fopen(RUN_LDPRELOAD_FILE, "w"); 51 FILE *fp = fopen(RUN_LDPRELOAD_FILE, "w");
52 if (!fp) 52 if (!fp)
53 errExit("fopen"); 53 errExit("fopen");
54 const char *prefix = LIBDIR "/firejail"; 54 const char *prefix = RUN_FIREJAIL_LIB_DIR "/firejail";
55 55
56 if (arg_trace) { 56 if (arg_trace) {
57 fprintf(fp, "%s/libtrace.so\n", prefix); 57 fprintf(fp, "%s/libtrace.so\n", prefix);