mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
apparmor: fix code style error in reduced if statement
sc_spacing-check FAIL reporting a case of "Curly brackets around single-line body:" in a recent commit. Fixes: d9c21f4b "apparmor: allow adding permanent per guest rules" Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
parent
d61d8206f3
commit
a132ba9035
@ -1489,9 +1489,8 @@ main(int argc, char **argv)
|
||||
rc = parserLoad(ctl->uuid);
|
||||
} else if (ctl->cmd == 'R' || ctl->cmd == 'D') {
|
||||
rc = parserRemove(ctl->uuid);
|
||||
if (ctl->cmd == 'D') {
|
||||
if (ctl->cmd == 'D')
|
||||
unlink(include_file);
|
||||
}
|
||||
} else if (ctl->cmd == 'c' || ctl->cmd == 'r') {
|
||||
char *included_files = NULL;
|
||||
g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user