summaryrefslogtreecommitdiffstats
path: root/scripts/lvm2_activation_generator_systemd_red_hat.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lvm2_activation_generator_systemd_red_hat.c')
-rw-r--r--scripts/lvm2_activation_generator_systemd_red_hat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvm2_activation_generator_systemd_red_hat.c b/scripts/lvm2_activation_generator_systemd_red_hat.c
index 99210049..85420b8b 100644
--- a/scripts/lvm2_activation_generator_systemd_red_hat.c
+++ b/scripts/lvm2_activation_generator_systemd_red_hat.c
@@ -144,7 +144,7 @@ int main(int argc, char *argv[])
const char *dir;
int r = EXIT_SUCCESS;
- kmsg_fd = open(KMSG_DEV_PATH, O_WRONLY|O_NOCTTY|O_CLOEXEC);
+ kmsg_fd = open(KMSG_DEV_PATH, O_WRONLY|O_NOCTTY);
if (argc > 1 && argc != 4) {
kmsg("LVM: Activation generator takes three or no arguments.\n");