diff options
author | netblue30 <netblue30@yahoo.com> | 2015-11-22 09:40:05 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-11-22 09:40:05 -0500 |
commit | 931ed3f6449f70d467f23741321e815263ca22af (patch) | |
tree | 47bffa86759f22efdaf4d31e2d4417d6f99e45ba /src/firejail/restrict_users.c | |
parent | whitelisting /opt directory (diff) | |
download | firejail-931ed3f6449f70d467f23741321e815263ca22af.tar.gz firejail-931ed3f6449f70d467f23741321e815263ca22af.tar.zst firejail-931ed3f6449f70d467f23741321e815263ca22af.zip |
fixes
Diffstat (limited to 'src/firejail/restrict_users.c')
-rw-r--r-- | src/firejail/restrict_users.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/restrict_users.c b/src/firejail/restrict_users.c index c0a14ff6f..d2d106f27 100644 --- a/src/firejail/restrict_users.c +++ b/src/firejail/restrict_users.c | |||
@@ -293,7 +293,6 @@ static void sanitize_group(void) { | |||
293 | if ((gid_t) gid != mygid) { | 293 | if ((gid_t) gid != mygid) { |
294 | continue; // skip line | 294 | continue; // skip line |
295 | } | 295 | } |
296 | fprintf(fpout, "%s", buf); | ||
297 | if (copy_line(fpout, buf, ptr)) | 296 | if (copy_line(fpout, buf, ptr)) |
298 | goto errout; | 297 | goto errout; |
299 | } | 298 | } |