Commit 5c6225be authored by Gerald Salin's avatar Gerald Salin

Merge branch 'user_management' into 'master'

#99 delete data for a purge demand somtimes fails

See merge request !16
parents 62827323 34f2bdcf
......@@ -145,7 +145,7 @@ class tx_nG6_utils {
if (!ssh2_auth_password($connection, $user_login,$user_pwd )){
return 2;
}
$stream = ssh2_exec($connection, 'ls '.$directory.'/*' );
$stream = ssh2_exec($connection, 'ls -d '.$directory.'/' );
$errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);
// Enable blocking for both streams
stream_set_blocking($errorStream, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment