From b39a50d581b50c049eaa4d3d576e7737c196909c Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 21 Aug 2008 17:57:06 +0000 Subject: [PATCH] Since using a destructor doesn't seem to work all that well, try using atexit instead. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2756 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- src/rpm-fake.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpm-fake.c b/src/rpm-fake.c index 0e3a936..26bb73c 100644 --- a/src/rpm-fake.c +++ b/src/rpm-fake.c @@ -511,6 +511,8 @@ initRPMFake() initEnvironment(); initPwSocket(); + atexit(exitRPMFake); + #if 0 if (isDbgLevel(DBG_VARIABLES|DBG_VERBOSE2)) { -- 1.8.1.5