Permalink
Browse files

Fix -i impersonate parameter

  • Loading branch information...
1 parent ce19a54 commit 6e2b59880b8361d811821009220b1799e2937fd7 @cdujeu cdujeu committed Jul 28, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/core/src/pydio/Core/Controller/CliRunner.php
@@ -84,7 +84,7 @@ public static function applyActionInBackground(ContextInterface $ctx, $actionNam
$robustInstallPath = str_replace("/", DIRECTORY_SEPARATOR, AJXP_INSTALL_PATH);
$cmd = ConfService::getGlobalConf("CLI_PHP") . " " . $robustInstallPath . DIRECTORY_SEPARATOR . "cmd.php -u=$user -t=$token -a=$actionName -r=$repositoryId";
if($impersonateUsers !== null){
- $cmd .= "-i=".$impersonateUsers;
+ $cmd .= " -i=".$impersonateUsers;
}
/* Inserted next 3 lines to quote the command if in windows - rmeske*/
if (PHP_OS == "WIN32" || PHP_OS == "WINNT" || PHP_OS == "Windows") {

0 comments on commit 6e2b598

Please sign in to comment.