fixed some memory corruption
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@362 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -92,7 +92,7 @@ void daemonize(void) {
|
||||
ERROR("setsid: %s\n", strerror(errno));
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
||||
/* Change the current working directory. This prevents the current
|
||||
* directory from being locked; hence not being able to remove it. */
|
||||
if (chdir("/") < 0) {
|
||||
|
||||
Reference in New Issue
Block a user