Comment 1 for bug 1564625

Revision history for this message
Chris Holcombe (xfactor973) wrote :

So I dug into this with pydb and figured out what's going on. utils/apparmor/tools.py lines 79 and 81 need to be changed to fatal_error(message). I tried both fatal_error and also sys.exit(1) and aa-complain seems to ignore it and still exit 0. I'm not exactly sure why though. It seems there's a custom sys exit handler in place that is messing with it. Does anyone know what I should change it to? I'll put in the change and the merge request :)