diff options
Diffstat (limited to 'src/firecfg')
-rw-r--r-- | src/firecfg/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index a7a175ad8..9a2efebd2 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -451,6 +451,7 @@ int main(int argc, char **argv) { | |||
451 | firejail_user_add(user); | 451 | firejail_user_add(user); |
452 | umask(orig_umask); | 452 | umask(orig_umask); |
453 | 453 | ||
454 | #ifdef HAVE_APPARMOR | ||
454 | // enable firejail apparmor profile | 455 | // enable firejail apparmor profile |
455 | struct stat s; | 456 | struct stat s; |
456 | if (stat("/sbin/apparmor_parser", &s) == 0) { | 457 | if (stat("/sbin/apparmor_parser", &s) == 0) { |
@@ -464,6 +465,7 @@ int main(int argc, char **argv) { | |||
464 | (void) rv; | 465 | (void) rv; |
465 | free(cmd); | 466 | free(cmd); |
466 | } | 467 | } |
468 | #endif | ||
467 | } | 469 | } |
468 | 470 | ||
469 | 471 | ||