diff options
author | B. Bergeron <[email protected]> | 2025-07-16 00:21:23 -0400 |
---|---|---|
committer | B. Bergeron <[email protected]> | 2025-07-16 00:21:23 -0400 |
commit | d0823abeebfc36813ef2371ba9afaa7e4a66294f (patch) | |
tree | 837311ec8b6376b43b23085a9d6c6ee50659c1de /run_landlock.c | |
parent | 4addcd2a4163f0767ec1ed696ac7eae49d55c8ff (diff) |
landlock_init: Remove deprecated error case
Diffstat (limited to 'run_landlock.c')
-rw-r--r-- | run_landlock.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |