mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-08 08:58:50 +03:00
systemd: O_CLOEXEC not needed in activation generator
O_CLOEXEC not actually needed, this is just a simple program, it is not supposed to fork/exec anywhere and anytime in the future.
This commit is contained in:
parent
c6cc871df8
commit
e309586aeb
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user