mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
pre-release
This commit is contained in:
parent
fadbec996f
commit
9c29f2f509
@ -366,7 +366,7 @@ int main(int argc, char *argv[])
|
|||||||
* Daemon currently needs to use mlockall().
|
* Daemon currently needs to use mlockall().
|
||||||
*/
|
*/
|
||||||
if (setenv("LANG", "C", 1) != 0)
|
if (setenv("LANG", "C", 1) != 0)
|
||||||
perror("Can not set LANG to C");
|
perror("Cannot set LANG to C");
|
||||||
|
|
||||||
/* Fork into the background (unless requested not to) */
|
/* Fork into the background (unless requested not to) */
|
||||||
if (debug != DEBUG_STDERR) {
|
if (debug != DEBUG_STDERR) {
|
||||||
|
@ -1703,8 +1703,8 @@ int main(int argc, char *argv[])
|
|||||||
* used by some glibc (on some distributions it takes over 100MB).
|
* used by some glibc (on some distributions it takes over 100MB).
|
||||||
* Daemon currently needs to use mlockall().
|
* Daemon currently needs to use mlockall().
|
||||||
*/
|
*/
|
||||||
if (setenv("LANG", "C", 1) != 0)
|
if (!setenv("LANG", "C", 1))
|
||||||
perror("Can not set LANG to C");
|
perror("Cannot set LANG to C");
|
||||||
|
|
||||||
if (!_debug)
|
if (!_debug)
|
||||||
_daemonize();
|
_daemonize();
|
||||||
|
Loading…
Reference in New Issue
Block a user