mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-08 08:01:39 +00:00
Change user name query
This commit is contained in:
1 parent
c2e5e0fa0d
commit
efe75a7332
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ public class OpenFileSystemCache {
|
||||
public void init() throws Exception {
|
||||
ShellControl sc = model.getFileSystem().getShell().get();
|
||||
ShellDialect d = sc.getShellDialect();
|
||||
username = sc.executeSimpleStringCommand(d.getPrintVariableCommand(d.getUsernameVariableName()));
|
||||
username = d.printUsernameCommand(sc).readStdoutOrThrow();
|
||||
}
|
||||
|
||||
public boolean isRoot() {
|
||||
|
||||
Reference in new issue
Block a user