summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--run_landlock.c4
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);