--- a/src/Pure/General/ssh.scala Wed Sep 14 17:35:38 2022 +0200
+++ b/src/Pure/General/ssh.scala Wed Sep 14 21:14:32 2022 +0200
@@ -155,8 +155,8 @@
/* init and exit */
val user_home: String = {
- val args = Bash.string("printenv HOME\nprintenv SHELL")
- run_ssh(master = control_master, args = args).check.out_lines match {
+ run_ssh(master = control_master, args = "printenv HOME \";\" printenv SHELL").check.out_lines
+ match {
case List(user_home, shell) =>
if (shell.endsWith("/bash")) user_home
else {