Commit:    796cfad5ffaf83efb28c8283bcd7d8d26cf85bc4
Author:    Anatol Belski <[email protected]>         Mon, 28 Nov 2016 17:34:02 +0100
Parents:   c30ba01fcfb5ad8a83d47f91f04a25611b13410d
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=796cfad5ffaf83efb28c8283bcd7d8d26cf85bc4

Log:
don't leave lock around

Changed paths:
  M  bin/snapshot_task.bat


Diff:
diff --git a/bin/snapshot_task.bat b/bin/snapshot_task.bat
index 6591485..3a99c0f 100644
--- a/bin/snapshot_task.bat
+++ b/bin/snapshot_task.bat
@@ -22,6 +22,7 @@ ECHO running > %LOCK_FILE%
 
 if not exist "%PHP_RMTOOLS_ROOT_PATH%\data\config\credentials_ftps.php" (
        echo FTP config %PHP_SDK_ROOT_PATH%\data\config\credentials_ftps.php 
not found >> %LOG_FILE% 2<&1
+       del %LOCK_FILE% >> %LOG_FILE% 2<&1
        exit /b 3
 )


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to