Skip to content

Commit

Permalink
fix: add leading slash to default remote shell (#1596)
Browse files Browse the repository at this point in the history
Adds a leading slash to `/bin/bash` as the default shell if no other
shell has been found
  • Loading branch information
oneirocosm authored Dec 20, 2024
1 parent 9793f98 commit b17e613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/wsh/cmd/wshcmd-shell-unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ func shellCmdInner() string {
}
}
// none found
return "bin/bash\n"
return "/bin/bash\n"
}

0 comments on commit b17e613

Please sign in to comment.