diff options
Diffstat (limited to 'src/firejail/output.c')
-rw-r--r-- | src/firejail/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/output.c b/src/firejail/output.c index 4f68b8ca3..7d73f1ef2 100644 --- a/src/firejail/output.c +++ b/src/firejail/output.c | |||
@@ -28,7 +28,7 @@ void check_output(int argc, char **argv) { | |||
28 | int i; | 28 | int i; |
29 | int outindex = 0; | 29 | int outindex = 0; |
30 | int enable_stderr = 0; | 30 | int enable_stderr = 0; |
31 | 31 | ||
32 | for (i = 1; i < argc; i++) { | 32 | for (i = 1; i < argc; i++) { |
33 | if (strncmp(argv[i], "--output=", 9) == 0) { | 33 | if (strncmp(argv[i], "--output=", 9) == 0) { |
34 | outindex = i; | 34 | outindex = i; |
@@ -90,7 +90,7 @@ void check_output(int argc, char **argv) { | |||
90 | continue; | 90 | continue; |
91 | ptr += sprintf(ptr, "%s ", argv[i]); | 91 | ptr += sprintf(ptr, "%s ", argv[i]); |
92 | } | 92 | } |
93 | 93 | ||
94 | if (enable_stderr) | 94 | if (enable_stderr) |
95 | sprintf(ptr, "2>&1 | %s/firejail/ftee %s", LIBDIR, outfile); | 95 | sprintf(ptr, "2>&1 | %s/firejail/ftee %s", LIBDIR, outfile); |
96 | else | 96 | else |