proper shutdown

moved signal handler for SIGCHD and SIGHUP to dumm
This commit is contained in:
Martin Willi
2007-08-03 11:47:20 +00:00
parent dfcdae0335
commit 5ce04046f7
5 changed files with 96 additions and 48 deletions
+4 -4
View File
@@ -277,13 +277,13 @@ static bool mount_unionfs(private_guest_t *this)
char master[PATH_MAX];
char diff[PATH_MAX];
char mount[PATH_MAX];
snprintf(master, sizeof(master), "%s/%s", this->dirname, MASTER_DIR);
snprintf(diff, sizeof(diff), "%s/%s", this->dirname, DIFF_DIR);
snprintf(mount, sizeof(mount), "%s/%s", this->dirname, UNION_DIR);
if (this->cowfs == NULL)
{
snprintf(master, sizeof(master), "%s/%s", this->dirname, MASTER_DIR);
snprintf(diff, sizeof(diff), "%s/%s", this->dirname, DIFF_DIR);
snprintf(mount, sizeof(mount), "%s/%s", this->dirname, UNION_DIR);
this->cowfs = cowfs_create(master, diff, mount);
if (this->cowfs)
{