Skip to content

Commit

Permalink
Merge pull request #3856 from brauner/2021-06-07.fixes
Browse files Browse the repository at this point in the history
lsm/apparmor: actually report an error when we fail to wire AppArmor …
  • Loading branch information
stgraber committed Jun 7, 2021
2 parents 4e92ee3 + fd697cc commit 81ec0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/lsm/apparmor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ static int apparmor_process_label_set_at(struct lsm_ops *ops, int label_fd, cons
ret = lxc_write_nointr(label_fd, command, len - 1);

INFO("Set AppArmor label to \"%s\"", label);
return 0;
return ret;
}

/*
Expand Down

0 comments on commit 81ec0d7

Please sign in to comment.