@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | * This class allows you to call the two S3 scripts |
| 4 | 4 | * to download and upload files. |
| 5 | 5 | * The scripts are executed using the CommandExecuter |
| 6 | - */ |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | require_once __DIR__ . '/CommandExecuter.php'; |
| 9 | 9 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $cmd, |
| 86 | 86 | 2, |
| 87 | 87 | array(1 => array("pipe", "w"), |
| 88 | - 2 => array("pipe", "w")), |
|
| 88 | + 2 => array("pipe", "w")), |
|
| 89 | 89 | $callback, |
| 90 | 90 | $callbackParams, |
| 91 | 91 | true, |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | // Check process status at every turn |
| 63 | 63 | do { |
| 64 | - sleep($sleep); |
|
| 64 | + sleep($sleep); |
|
| 65 | 65 | |
| 66 | 66 | // Read prog output |
| 67 | 67 | if (isset($descriptors[1]) && |
@@ -109,8 +109,8 @@ discard block |
||
| 109 | 109 | $i++; |
| 110 | 110 | } while ($procStatus['running']); |
| 111 | 111 | |
| 112 | - fclose($pipes[1]); |
|
| 113 | - fclose($pipes[2]); |
|
| 112 | + fclose($pipes[1]); |
|
| 113 | + fclose($pipes[2]); |
|
| 114 | 114 | |
| 115 | 115 | if ($procStatus['exitcode'] > 0) |
| 116 | 116 | { |