mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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().
|
||||
*/
|
||||
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) */
|
||||
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).
|
||||
* Daemon currently needs to use mlockall().
|
||||
*/
|
||||
if (setenv("LANG", "C", 1) != 0)
|
||||
perror("Can not set LANG to C");
|
||||
if (!setenv("LANG", "C", 1))
|
||||
perror("Cannot set LANG to C");
|
||||
|
||||
if (!_debug)
|
||||
_daemonize();
|
||||
|
Loading…
Reference in New Issue
Block a user