fix: add leading slash to default remote shell (#1596)

Adds a leading slash to `/bin/bash` as the default shell if no other
shell has been found
This commit is contained in:
Sylvie Crowe 2024-12-20 13:51:32 -08:00 committed by GitHub
parent 9793f9898c
commit b17e613d74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,5 +58,5 @@ func shellCmdInner() string {
}
}
// none found
return "bin/bash\n"
return "/bin/bash\n"
}