]> TLD Linux GIT Repositories - packages/lvm2.git/blob - lvm2-run-dir.patch
- fix conditional
[packages/lvm2.git] / lvm2-run-dir.patch
1 diff -urNpa LVM2.2.03.23.orig/configure.ac LVM2.2.03.23/configure.ac
2 --- LVM2.2.03.23.orig/configure.ac      2023-12-03 19:58:08.846798150 +0100
3 +++ LVM2.2.03.23/configure.ac   2023-12-03 19:58:22.952965549 +0100
4 @@ -724,8 +724,7 @@ AC_ARG_WITH(ocfdir,
5  
6  ################################################################################
7  AC_MSG_CHECKING([for default run directory])
8 -RUN_DIR="/run"
9 -AS_IF([test ! -d "$RUN_DIR"], [RUN_DIR="/var/run"])
10 +RUN_DIR="/var/run"
11  AC_MSG_RESULT([$RUN_DIR])
12  dnl -- Set up pidfile and run directory
13  AH_TEMPLATE(DEFAULT_PID_DIR)