diff options
Diffstat (limited to 'src/firejail/bandwidth.c')
-rw-r--r-- | src/firejail/bandwidth.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/firejail/bandwidth.c b/src/firejail/bandwidth.c index 61d0acd4a..e0be1f06a 100644 --- a/src/firejail/bandwidth.c +++ b/src/firejail/bandwidth.c | |||
@@ -125,10 +125,8 @@ void shm_create_firejail_dir(void) { | |||
125 | } | 125 | } |
126 | else { // check /dev/shm/firejail directory belongs to root end exit if doesn't! | 126 | else { // check /dev/shm/firejail directory belongs to root end exit if doesn't! |
127 | if (s.st_uid != 0 || s.st_gid != 0) { | 127 | if (s.st_uid != 0 || s.st_gid != 0) { |
128 | if (firejail_in_firejail == 0) { | 128 | fprintf(stderr, "Error: non-root %s directory, exiting...\n", "/dev/shm/firejail"); |
129 | fprintf(stderr, "Error: non-root %s directory, exiting...\n", "/dev/shm/firejail"); | 129 | exit(1); |
130 | exit(1); | ||
131 | } | ||
132 | } | 130 | } |
133 | } | 131 | } |
134 | } | 132 | } |