diff options
author | 2019-08-29 21:40:16 -0500 | |
---|---|---|
committer | 2019-08-29 21:40:16 -0500 | |
commit | 6620aac849bb6d95eece058bfca53d025721c862 (patch) | |
tree | 012b8cdbc0011619da26e6644a32acbc4fd06f1e /src | |
parent | Better debug handling. (diff) | |
download | firejail-6620aac849bb6d95eece058bfca53d025721c862.tar.gz firejail-6620aac849bb6d95eece058bfca53d025721c862.tar.zst firejail-6620aac849bb6d95eece058bfca53d025721c862.zip |
Fix issue where strace output file path has leading space making it an invalid path.
Diffstat (limited to 'src')
-rw-r--r-- | src/fbuilder/build_profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fbuilder/build_profile.c b/src/fbuilder/build_profile.c index 16425dd48..5199829d7 100644 --- a/src/fbuilder/build_profile.c +++ b/src/fbuilder/build_profile.c | |||
@@ -63,7 +63,7 @@ void build_profile(int argc, char **argv, int index, FILE *fp) { | |||
63 | char *stroutput; | 63 | char *stroutput; |
64 | if(asprintf(&output,"--output=%s",trace_output) == -1) | 64 | if(asprintf(&output,"--output=%s",trace_output) == -1) |
65 | errExit("asprintf"); | 65 | errExit("asprintf"); |
66 | if(asprintf(&stroutput,"-o %s",strace_output) == -1) | 66 | if(asprintf(&stroutput,"-o%s",strace_output) == -1) |
67 | errExit("asprintf"); | 67 | errExit("asprintf"); |
68 | 68 | ||
69 | char *cmdlist[] = { | 69 | char *cmdlist[] = { |