Small browser fixes

This commit is contained in:
crschnick
2024-10-06 00:15:08 +00:00
parent 8c6333beb9
commit f13eac1c75
4 changed files with 7 additions and 5 deletions

View File

@@ -148,7 +148,9 @@ public class ConnectionFileSystem implements FileSystem {
@Override
public void directoryAccessible(String file) throws Exception {
shellControl.executeSimpleCommand(shellControl.getShellDialect().getCdCommand(file));
var current = shellControl.executeSimpleStringCommand(shellControl.getShellDialect().getPrintWorkingDirectoryCommand());
shellControl.command(shellControl.getShellDialect().getCdCommand(file));
shellControl.command(shellControl.getShellDialect().getCdCommand(current));
}
@Override