diff options
Diffstat (limited to 'src/label.c')
-rw-r--r-- | src/label.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/label.c b/src/label.c index 809b1ee646..01f36eb6cc 100644 --- a/src/label.c +++ b/src/label.c @@ -51,6 +51,9 @@ int label_init(void) { if (!use_selinux()) return 0; + if (label_hnd) + return 0; + label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0); if (!label_hnd) { log_full(security_getenforce() == 1 ? LOG_ERR : LOG_DEBUG, |