diff options
Diffstat (limited to 'src/firejail/fs_logger.c')
-rw-r--r-- | src/firejail/fs_logger.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/firejail/fs_logger.c b/src/firejail/fs_logger.c index 9f33b36d9..052a41457 100644 --- a/src/firejail/fs_logger.c +++ b/src/firejail/fs_logger.c | |||
@@ -117,22 +117,6 @@ void fs_logger_change_owner(void) { | |||
117 | errExit("chown"); | 117 | errExit("chown"); |
118 | } | 118 | } |
119 | 119 | ||
120 | void fs_logger_print_log_name(const char *name) { | ||
121 | EUID_ASSERT(); | ||
122 | |||
123 | if (!name || strlen(name) == 0) { | ||
124 | fprintf(stderr, "Error: invalid sandbox name\n"); | ||
125 | exit(1); | ||
126 | } | ||
127 | pid_t pid; | ||
128 | if (name2pid(name, &pid)) { | ||
129 | fprintf(stderr, "Error: cannot find sandbox %s\n", name); | ||
130 | exit(1); | ||
131 | } | ||
132 | |||
133 | fs_logger_print_log(pid); | ||
134 | } | ||
135 | |||
136 | void fs_logger_print_log(pid_t pid) { | 120 | void fs_logger_print_log(pid_t pid) { |
137 | EUID_ASSERT(); | 121 | EUID_ASSERT(); |
138 | 122 | ||