From d0823abeebfc36813ef2371ba9afaa7e4a66294f Mon Sep 17 00:00:00 2001 From: "B. Bergeron" Date: Wed, 16 Jul 2025 00:21:23 -0400 Subject: landlock_init: Remove deprecated error case --- run_landlock.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'run_landlock.c') diff --git a/run_landlock.c b/run_landlock.c index 117482f..9df3b42 100644 --- a/run_landlock.c +++ b/run_landlock.c @@ -182,10 +182,6 @@ static int landlock_init(char *argv0, struct landlock_ruleset_attr *attr) fprintf(stderr, "%s: landlock not supported, running without\n", argv0); return -1; - case ENOMSG: - fprintf(stderr, "%s: no access specified\n", argv0); - exit(EXIT_FAILURE); - default: fprintf(stderr, "%s: failed to initialize landlock (%s)\n", argv0, strerror(errno)); exit(EXIT_FAILURE); -- cgit v1.2.3