aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-08 19:35:25 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-08 19:35:25 +0100
commit9b8810388d633def0bd2dd711751b184e9d8fa50 (patch)
tree2b480c69fc342739c1c8c6dc09af9c9b29fd5a75
parentAdded a README with some basic installation/running instructions, removed cac... (diff)
downloadgentoaster-9b8810388d633def0bd2dd711751b184e9d8fa50.tar.gz
gentoaster-9b8810388d633def0bd2dd711751b184e9d8fa50.tar.bz2
gentoaster-9b8810388d633def0bd2dd711751b184e9d8fa50.zip
Delete config after the build has finished in daemon
-rw-r--r--daemon.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon.php b/daemon.php
index 8f58076..3665abc 100644
--- a/daemon.php
+++ b/daemon.php
@@ -62,6 +62,8 @@
$returncode = pclose($process_handle);
+ unlink("config.ini");
+
return update_result($handle, $returncode, $nonstatus_output);
} else {
return update_result($handle, -2, "Configured build path is not writable");