diff --git a/Classes/TYPO3/Surf/Task/FLOW3/SymlinkConfigurationTask.php b/Classes/TYPO3/Surf/Task/FLOW3/SymlinkConfigurationTask.php
index <HASH>..<HASH> 100644
--- a/Classes/TYPO3/Surf/Task/FLOW3/SymlinkConfigurationTask.php
+++ b/Classes/TYPO3/Surf/Task/FLOW3/SymlinkConfigurationTask.php
@@ -41,7 +41,7 @@ class SymlinkConfigurationTask extends \TYPO3\Surf\Domain\Model\Task {
 		$commands = array(
 			"cd {$targetReleasePath}/Configuration",
 			"rm -f Production/*",
-			"rmdir Production",
+			"if [ -d Production ]; then rmdir Production; fi",
 			"mkdir -p ../../../shared/Configuration/Production",
 			"ln -snf ../../../shared/Configuration/Production Production"
 		);
[BUGFIX] Safeguard rmdir of directory

If the Production directory was not created the SymlinkConfigurationTask
outputs errors from rmdir.

Change-Id: I<I>db<I>c7df<I>ef8abd<I>f9d<I>d<I>e3